It won’t work since homosexuals seem to want people to see them anyway. Seems that robo crappers would just help them out.
Years ago I worked as a student at a big University. A certain bathroom had gotten a reputation as ‘the’ bathroom for this kind of thing. The campus cops had proposed to take the doors off the stalls in hopes of stopping this, but the gays continued to do their thing even with no stall doors. They wound up putting the doors back on. So, sadly, this will not work.
They’ll just yell “Tah-Dah!” every time the door opens.