I've never been in a union, so I can't assess their inner workings.
However, nobody says you have to join an existing one - you can just make your own. Amazon and Starbucks workers are doing it in much harsher conditions, so why wouldn't developers be able to?
I'm given the impression that unions in Europe are not as bad as Unions in the US though. Maybe if I lived in Europe I'd me more willing for the unions there, I'm not sure as it isn't an option I have and thus isn't worth investigating.