You definitely want to check with the gym’s membership sales people on that. My daughter belongs to my gym and she’s 13.
to participate under the age of 18, the legal consent of a parent or guardian is required. The gym sets the parameters for age.
Usually, if there over 16 they can participate. But I would consult the gym first.