No, it isn’t, unless you honestly want to argue that masturbation is sex, at which point, I’l simply laugh at you.
Do you have a special room, complete with accoutrements, where you build all your rationalizations?
Laugh all you want, but of course masturbation is sex, and is a constant feature of pornographic movies, “money shot” and all.