The only way I could think this would be a factor would be in terms of altered brain chemistry after masturbation, perhaps there's some hormone/endorphin kick that isn't conducive to lucid dreaming?