The ManiaPlanet documentation mentions Matchmaking, apparently for cup and team modes in Tm2 games. Sounds very similar to your proposed system. I skipped Tm2 so I didn't know this was a thing.
...