It’s okay for a short period of time. Alternatively, you may consider elevating yourself slightly while lying on your back rather than fully flat on your back. Try sitting up and sleep… I did that when I couldn’t sleep on my sides or back anymore.. :)