That is the closest thing to building a worker moat, I know of.
Tech workers are indeed a global force and in a world that increasingly requires global solutions - think climate change, migration crises, etc. - a union that leverages the power of all tech workers would be really useful right about now.