I'm 21 weeks with my second and find my back hurts when I sleep on my sides. I sleep on my back once and a while to get relief.
If you'd like to stop rolling my best suggestion is to prop yourself up with pillows. But really, we usually move around so much anyways that I wouldn't worry if I end up on my back. Just as long as you and baby are comfy. :)