remember when Riker got his balls squeezed by this sex hungry alien?
he manages to free himself from her, but when he leaves he says hes going to the holodeck and we dont see him for the rest for the episode
so I think it is heavily implied he went for a gooning session on the holodeck