There's a very simple solution: instead of wearing a uniform, have the pattern of the uniform tattooed onto you body! Now I know what you're thinking, "But what about my genitals?!" Don't worry, they can tattoo that too, and you'll be able to pee again in 6 weeks.
The tattoo isn't even necessary. Google "Star Trek body paint".