Yes, but the court in this case, is taking a particular interpretation that overstates the novelty of the rights claim.

The people bringing the lawsuit are not in fact asserting a right to clean water, they are asserting a right to not be deliberately poisoned by deception.