Yes. Until you start feeling uncomfortable.
I'm 40 weeks and still wake up on my belly , and my baby's fine as long as its comfy for you its fine for baby
It's okay up until you start getting uncomfortable :) the baby/your stomach will let you know when to stop.