Sleeping on stomach

My LO is 10 months old and prefers to sleep on her stomach. In the past I have always placed her on her back for sleeping and she rolls independently onto her stomach. However the last few weeks she has been waking up in the middle of the night and needing to be rocked back to sleep. After one very difficult night and multiple attempts where she was calm while sleeping on my chest but woke up as soon as I tried placing her on her back in the crib, I ended up trying to put her down on her stomach and she fell right asleep and didn't wake up again. Was this OK to do?