If that was the dress code when I signed up to the job then absolutely, that's what I signed up for. If they changed the dress code however then I will challenge that.
I kind of don't understand everyone's hate on landlords. My landlord increased my rent from $450 to $640 this year, but that's market rate and I'd have to pay the same or more if I tried to find another one, so I'm not even mad. When COVID hit a couple years ago and immigration stopped happening he dropped my rental from $600 to $400 so it works the other way as well.
It is just supply and demand and I don't see how it is any different to any other market.
Which is cool, except the subject of this entire thread has nothing to do with modifying body parts so it's also fair for the responder to be referring to attire rather than actual body modification.