it depends on the hotel's requirements and service specifications.
Generally speaking, it is not allowed.
However, some hotel posts are allowed, such as entertainment, recreation, bars, swimming pools, beaches and other departments in some coastal hotels, which can be worn if necessary, but they must be uniformly allocated by the hotel.