That's about what I used to do when I'd wake up in Sleep Paralysis.
I'd be stuck in a very odd mid state where I knew I could either wake or go back into a dream. If I went back into a dream I'd step into one completely lucid.