The standard model for eligibility for scholastically sponsored sports at the high school level is wholly dependent upon were the child lives. Thus High School athletes typically are not free to choose a team which best meets their individual needs.
If the coach basketball coach has a bias against atheists [and in plenty of public schools team prayer is regular and expected] or there is depth at their position or the program simply operates on a seniors-get-first-priority basis, the player is not free to move on.*
In other words, public school sports are largely organized around exclusive geographic franchise rights and there are extensive rules to prevent playing for whom one chooses and severe penalties for doing so by circumventing those rules.
Furthermore, many high school athletic associations restrict how, where, and with whom a player may play in the off season - e.g. by limiting the number of players from the high school team who may play on a club basketball team together during the off season [and that's without considering restrictions on their ability to monetize their athletic fame or talent].
* NCAA rules also severely restrict player movement at the college level - while coaches may switch teams every season.
Schools spend a lot of money on athletic programs because school boards approve budgets that allocate those funds. The school boards do this because the voters who elect school board members like athletic programs. Further, those same voters and parents often contribute funds for athletics above and beyond those being contributed by the taxpayer.
Voters want school athletics, voters get school athletics. The degree of "freedom" that students enjoy within the school athletic system wasn't what I meant by "democratic".
When done right, there's a benefit to running youth athletics through schools: Practice time and other scheduling can be balanced against academic requirements, coaches (who are often also teachers) can monitor how performance is being affected on and off the field, etc.
Like anything else, there are tradeoffs and in a nation with tens of thousands of locally-run school districts some places will go way too far in one direction, but it's Utopian to imagine that, say, kids in rural Texas will stop playing football.
(And this is all without mentioning the many positive influences of well-run athletic competition on students: Health, teamwork, the rewards of focused effort...)