Kieko was dressed up as a lady from 700 years in the past at her wedding, so how is that not traditional?
The lower your rank, where you are berthed in a Starship is relative to where your "main" job is, that you can get to your battle stations ASAP during a red alert even if you are off duty or asleep... This would suggest that during a really-really life threatening red alert that some crew chose not to get (fully) dressed, if the klaxxons go off when they are asleep, depending on what they wear, if anything, to sleep.
It might be that there is a regulation that you can't sleep naked?
Or there is "Naked Tuesdays" so that no one is out of sorts having to deal with nude workmates in a more stressful situation?
Point is, that where in the ship your bunk or king size cot is, is not a question of "leisure" when the Romulans have locked torpedoes on your primary hull. The Captain wants the yeomen who primes the phaser batteries, and her understudy, to be at their post and making sure that the ship can return fire, before the entire crew is sucking vacuum.
There is no randomness about where crew is told to sleep.