I don't actually go to a commercial gym but i don't think it would be a problem to them, pretty sure my buddy does it at his.
And try it man. If you think about it, having cushioning under your feet will add somewhat of a resistance when squatting/overhead pressing/deadlifts which you do not want. I find not wearing shoes gives you more drive, similar to lifting shoes. Everyone has different preferences tough.