Is that legal?
That said, there is hardly any company that would want to be the plaintiff in this case: "So, you're the company that led the lawsuit trying to keep corporate boards all white and male" is what the headlines will say, and no corporation would want to be branded as such.