I believe there are at least attempts at a balancing system in the back end, I don't think it's just entirely random. It feels like the game tries to balance the teams to be semi fair. As well as who you're up against, it also is no promise you'll get who you want, the game forces you to learn...