I must admit, I wasn’t taking a shower when I had that thought.
In 2018 a tv commercial premiered this projector mapping tech during a Superbowl commercial for Ponds cold cream…
https://www.youtube.com/watch?v=XvDtMeKgcioThe behind the scenes video…
https://www.youtube.com/watch?v=dCQGarGxRXMProjection mapping software generally assumes the surface(s) you are projecting onto is stationary. You might need special software to target a moving object
Were you dancing at the time?
I imagine it’s not as easy in terms of producing the template video to match your body type (and maybe agility) and then to set up the projection just at the right distance. Conventional wisdom might also say that you learn dance moves better by copying others and that’s why you get floor to ceiling mirrors in dance studios.
Check out touch designer. I was doing this for fun about 10 years ago and I know more professional creatives use it for the same thing. These days I think the camera tracking is pretty good but you can use a kinect for better tracking. Bit of a learning curve but if you have an aptitude for visual arts and programing you will be fine.