I would say, do it like CS:Go voting works. If a certain amount of people vote yes, a report gets filed and the staff look at it (in CS:GO its a kick from the lobby, but doesn't exactly work in this scenario, so a report works better). From that, they can handle it how they want (be it either an infraction, ban, warning, whatever depending on what the person has done, if they are a repeat offender, and so on). That way, instead of straight up banning from the room and causing issues, it can be maintainable and not 100% abusable.
Giving someone a straight out ban for 'ragequitting' without solid evidence for it is just unfair in many cases. If however the staff get multiple reports of this happening from different servers, and the same person doing it, then it might be evidential enough that there is something going on.
Just saying, this would be my opinion on how such a system could work / be implemented - not sure if a similar one to mine has been suggested already but hey, if it has then it has.