(Ah sorry - I've spent too long on YouTube in lockdown - Colin makes dangerous things in an engaging way:
https://www.youtube.com/channel/UCp68_FLety0O-n9QU6phsgw)
I did refuse a job offer when they said that wearing a suit, jacket, tie, pressed trousers, proper shoes, etc. was mandatory, even though I would never be seen by customers - I was 50/50 right up until they said that if I wanted to take my jacket off in summer, I had to get my manager's approval first, and it was only acceptable whilst sitting at my desk.
This was in the 90's, and so was weird then (even more so now)