The simple answer is, yes. The more accurate answer is, it depends. As last month's The People's Law column pointed out, one can only sue the government if the government gives you permission to do so. The letter indicates the proposed lawsuit would be because of inconsistent enforcement of the law. An example would be if a city retaliated against a group of people for making complaints against the city.
Class actions are tough to get certified by the courts.
However, groups of people may join together and each sue in the same lawsuit. So, class actions can amorphous, unwieldy and unfair. Class actions also can be powerful, but not always for the plaintiffs. 1-023 NMRA 1999 controls the prerequisites for maintaining a class action and the conduct, compromise or dismissal, of class actions. I am not aware of such a thing as a malpractice-type action against these types of government officials in their personal capacities.