I doubt they would jerk-off at the ceremony
I was not suggesting they would.
Rather, homosexual act is itself akin to masturbation. So celebrating a public ceremony of a gay “wedding” is similar to celebrating a public ceremony whose central implication is that the celebrant would masturbate.
The answer should be simple, repugnant No.