I built an app to help people create balanced teams during pickup games for any sport. The app had every player register themselves, then each player ranked everyone, including themselves, from best to worst, then the app would spit out n number of (probably) balanced teams.
It turns out that complaining about team balance after the match is a feature, not a bug, of the experience for most people and our app was just extra work.