I do it all the time, don't see a problem. Heck, boats are always moving. The only question is whether you get wet. In my case I stand a greater chance of getting wet stepping onto
a dockside stationary boat than while it's moving (true).
off a moving boat count? Done that too.