Never at work, but I almost did it once at school. I was in a class with about 20 students, but I was isolated in the very back. For some reason, I got a hard on and put my hand in my pockets.

I tugged like twice, and realized I could do it if I wanted to. After about 5 minutes of contemplating, I decided not to.