A free labor market would certainly allow workers to unionize to leverage their power and pursue their own capitalist goals by whatever means the market allows them. A free labor market should recognize the workers as important actors in that market. I'm not sure why unions seem like such an appalling idea to capitalist idealists.