Close. Competitions can be organized by schools too.
These may be: competitions inside clubs, competitions between schools, olympiads, events with prises, etc.
The point is that partitipation in the ranked system is OPTIONAL and meant to encourage performance.
Grades are mandatory, are standard based, task completion based and are more a tool to detect issues.
Ranking should not be mandatory because access to resources of all kinds is absolutely a factor influencing performance, and you want to keep the educational environment fair for everyone. Every student should be able to meet the standard using just the resources provided by the system. Those who don't, should repeat the year until they do. Only one student will become a champion.
If a student is not able to meet the standard, it is a signal that a investigation is needed. Are there family issues? Does the student have a propper learning environment? Are they suffering from stress? Is there an issue with regards to comaptibility with the teacher? What can be done to improove the situation?
The same way in a good MMO adventure game you can stick to story mode and enjoy the game, but a some people will go PvP and compete for the rankings. PvP should not be mandatory, especially if microtransactions are used for items that influence the game.
And in real life, some students absolutely benefit from the equivalent of in game microtransactions, and some do not. And this is not likely to change any time soon.