It sounds like you had some awareness about where you were (in a dream), which would count as a lucid dream.

Moving your body in a dream just as you would move your physical body when awake should be no problem (normally you're in REM atonia during dreams, so your physical body won't move with it), though you could will yourself around with your mind, too, if you want (especially if you want to levitate/fly or whatever).