I don't know of any restrictions in regards to sex or masturbating with a j-pouch (for males at least). Definitely let your doctor know about this though. That's what they are there for, and don't be afraid to ask. They hear this stuff more often than you think.