Yes, they can. The "prohibited" attire is swimwear, tank tops for men, hats for men, torn clothing, tee shirts with objectionable graphics or words, and pool-type footgear. (I'd throw in shorts if the shorts look too casual - cutoffs or short shorts)