Maybe My Tools can help. Use the add actions feature to insert bunch of points throughout the span of the video, then use the function feature to make a sine-ish wave.
https://discuss.eroscripts.com/t/my-tools-extension-for-openfunscripter/61434/26
How many points you want in the wave would depend on what device you are using. For most Bluetooth device out there a triangular wave with top and bottom points only works the best.
If all you are looking for is to have some strokes during playback and doesn’t require anything specific to the video, there are easier options for you.
https://discuss.eroscripts.com/t/handycontrol-1-2-3-28-11-2021-added-support-for-pyro-remote-control/94
https://discuss.eroscripts.com/t/handy-looper-an-app-to-easily-create-and-play-motion-loops/96594