Time for a little science experiment then.
Get a HR monitor, some good porn, and a box of kleenex.
Report back in the morning. If you could theoritically make "rubbing one out" active, you could increase your HR enough to get a cardio workout. Just grit your teeth and RIP IT!
But who wants to jerk off for an hour?