Yes, you can wear a hair system to the gym. Sweat shouldn’t dislodge your hair system provided you’ve used a good adhesive.