Could this be used on a moving boat

I would like to use this to record a water skier going side to side mounted to the windshield.

Of course you can do this but this is not the intended use. A 360 camera may work better and may be even cheaper than 2 decent action cameras.