Well that would be good idea except when you have one of you arms locked in a very painful position between your back and the bed. In which case going back to sleep in not an option and you have to wake up your body to move your arm to a more pleasant position.
I have had that happen to me twice. Both times were no picnics.
It's a frightening thing, of that there's no doubt. I used to get it all the time when I was in my mid-twenties, but it recurs infrequently now. I had poor control of my blood sugar back then, and was told by the doctor that I was at risk to develop type 2 diabetes. The experiences would usually happen after getting up about five hours after a food or beer binge, downing a couple of glasses of water and then going back to sleep. I still can't get over the vividness of the dreams I'd have just prior to partially waking up and not being able to move. They had none of the "dream-like" quality of dreams. The surroundings were perfectly natural (usually I'd be walking around my own house with everything in its proper place) but there would be some kind of "unreal" element, like doing somersaults and backflips in slow motion in the air, as if I were weightless in outer space. Bizarre.