Short answer: Maybe, maybe not. Impossible to tell really.
Sometimes people experience out of body sensations as a part of sleep paralysis. Its the most common explaination for OBE phenomenon. If you don't know, sleep paralysis occurs during the delta phase of the sleep cycle where a person awakes and becomes fully aware of their surroundings but they are either totally or partially paralized. At the same time many people are still in what's called a hypnagotic state where they can experience dream like sensations as hallucinations.
That said its totally possible you simply dreamed the whole thing. But at the same time I wouldn't rule out the possibility of an OBE either. I do think that if it is possible to have an OBE, in the literal sense, then it would make sense that sometimes the body and mind accidently induce such states if conditions are just right.
--------------------
|