I'm sure this is already possible with some Japanese toilet models, they come equipped with all necessary things in place, and i wouldn't be surprised the IoT mania hasn't reached those.
Last time i was there i did saw a pure digital one, it had only buttons to operate, including the jet stream. Oddly enough the stop button was in kanji, you better learn that one before sitting as it won't stop until you push it (if you engage it or let the sensor do it). Arguably the pranksters would activate it again or disable this stop button...
It would we wise to never let those on the net