Navy tradition already has it baked in:
rum buggery, and the lash
...interesting....some additional info....
...[A Royal Navy historian] suggests there’s some basis to the belief that the Royal Navy’s traditions consisted of “rum, sodomy, and the lash” (a witticism often misattributed to Winston Churchill)......”
He probably never said those exacct words but it seemed to be somewhat true about the Royal Navy in those days....
Not OUR Navy; back when I served alcohol was forbidden on shipboard, they kicked queers out and extra duty at hard labor was the punishment for other than criminal offenses.