In The SF Bay Area Sonja Trauss, SFYIMBY and friends actually did bring a lawsuit against the suburb of Lafayette for housing development. https://youtu.be/91g6N_JNnQE
They also established a legal agency for doing exactly that: https://www.carlaef.org/
I wonder if this kind of thing will happen more often for other urban policy related things!