@Domino20
I never used to let my son miss training for a party, if it was a genuinely close friend we'd arrange something separately. Perhaps it's difficult for those who don't follow this kind of path to understand but the thrill that kids get competing and winning or the strength of character they develop from losses is immeasurable. I'm guessing there's been no actual competition for over a year now with Lockdown? I'd be looking to get back into the routine of training/competition and plan something special with the birthday person separately.
I tried many different sports as a child and followed some for a long time. I took part in lots of competitions including pony club events, local athletics comps, and yes, gymnastics! Where we travelled to other cities to compete and had a wonderful time, all the thrills and personal development you mention, fitness, resilience, commitment.
It was not necessary to give up my entire life for any of these benefits. I did gymnastics once a week, tended to the ponies more often. I attended every party, school trip etc that I wanted. I also did theatre, dancing. I had a full social life and was able to focus on homework and exams when necessary. If I didn't want to go to some sport thing I was never forced and if I lost interest I was allowed to stop.
You might be able to force an 8 year old to miss a party, but you might have more trouble with a teenager! This has got to be driven by the child. If you're having to tell them they MUST attend this thing then who is it for? It's their life, their childhood, and it's supposed to be enjoyable.