Found about Client Earth an NGO doing exactly that, using the power of the law to fight for climate justice.
They have an active case filed against Shell's Board of Directors in the UK and over 160 other active cases against governments and corporations.
They have won cases against Germany for violating air pollution laws and I think other countries too.