Answer:
Yes, in certain environments, clothing communicates a message about our commitment and work ethic. For example, it would be okay to wear a crop top when you're on a casual shopping spree, but wearing something like that to an office or work meeting can convey unprofessionalism. In certain places, I think there should be a dress code. However, such a topic is debatable and some people think that dress codes violate freedom of speech. I think the best practice in such a situation is to follow common sense and your own judgement.
Hope this helps :)