Yes, although untreated sleep apnea is dangerous and you shouldn't rely on this if you suspect you have it. It may make it better but you may still be starving your tissues of oxygen.
I was told that my sleep apnea didn't rise to the level of a medical condition needing intervention, but I should try to avoid sleeping on my back to help with the problems that do present.