You're answering a question that wasn't asked so you can bring your view on unionization into the conversation. The implicit question is whether management should, not whether they can.
Unions might not be the best solution, or the most practical. I'm all ears for better ways to fight back against bogus leadership. How else can software developers advocate for their interests in an environment where their power is sharply declining (non performance based layoffs, "performance" based layoffs, reduction in junior hiring, reduction in in-office perks, reduction in total comp, etc)?