You may not be fully asleep and dreaming but are you certain that you are fully awake when this happens? Please do test your sugars and let us know. Sometimes when I am overstressed and over-tired I'll catch myself drifting in and out of sleep, never really sure which state I am in.

You may be experiencing the tail-end of a dream you were having just before you started waking up?