It’s okay to wear makeup to the gym and to put it on specifically for the gym. That’s a lot of time in mirrors, and if you are wrestling w self-esteem issues, that can really be detrimental to your head space.
Do what you need to do to feel good and okay not only at the gym but in any circumstance.
Don’t let people thrust their limitations onto you.