Beverly & the Enterprise's computer do it on the holo deck
Deanna Troi helps Tasha Yar explore her masculine side.
Deanna and Tasha and their cyber-phalluses on the Holodeck.