Different legal systems have options for groups organizing to do a join litigation e.g. England and Wales have Group Litigation Orders.

I'm not a lawyer and not in England or Wales! ;-)