You can with an elasticated fabric. Take your measurements as usual, and make sure that you do not make the leg cut so high that they seem like briefs/knickers. Use a zig-zag backstitch to allow more stretching when it comes you your gymnastic movements. Applying talcum powder before putting them on will stop sweat from tightening the fabric.