It usually just comes off as somebody asking for advice or somebody who’s new looking for friend. It only really comes off as flirty when they are like kinda touchy if that makes sense. Like I’ve had girls ask for advice, immediately walk away and do the exercise, maybe ask for pointers. Others come up and will like brush against me or like poke my arm or smth and they are obvi just flirting
As long as you don’t do anything extra that could be taken as flirty it’s not a big deal, and if you’re really worried about it just ask multiple people and they’ll notice ur also asking others and u genuinely just want advice. Gym is very open and friendly though so usually people are more than happy to help. Also if ur worried abt approaching ppl, it sounds silly, but lit just look up the exercise. A lot of gym tracking apps have built in form diagrams and stuff too