system
Given the following post, respond as if you're commenting on Reddit:
human
[Star Trek] In TNG how do they prioritize use of the holodeck? For non emergency use? Do officers have priority for recreational use? I imagine the holodeck is constantly busy?

are people allowed to masturbate or have sex with sims on the holodeck?
gpt
You make a reservation, first-come first-served. Essential shipboard functions like engineering simulations take priority. A Galaxy-Class ship like the Enterprise has no less than 16 holodecks so even with a personnel complement of over 1,000, you still have enough for every officer, enlisted, and civilian aboard the ship to have more than two hours to themselves per week-- and more than that, if they coordinate group activities with friends, family, or colleagues.

Yes, holosuites can be used for sexual purposes. Quark, over on DS9, is famous for keeping the latest version of "Vulcan Love Slave" installed on his private suites, available for rent at his bar on the promenade. There is no canonical information about whether using holodecks on a Starfleet ship for sexual purposes is against regulations, however it's known that during Voyager's odyssey in the Delta Quadrant, they used theirs to help their tactical officer, one Lieutenant Tuvok, as well as an engineer, one Ensign Vorik, to each relieve themselves during their Pon Farr, which occurred respectively in the last few months of their seven-year journey and about four years earlier than that.