I see the opposite being the only acceptable solution.
Anarchists will not abide Authority over the working class nor the existence of class at all. This includes Borders and states.
Communists will be able to join together in community freely as anyone should be able. It will be an Anarchist society with Communist Communes or it will be the Permanent Revolution.
A War of the Left until only one side remains.
Power being held by Any socialist state is a Direct threat to Anarchism and directly opposed to Communism.
You cant achieve communism by creating a socialist state just as you cant destroy capitalism by creating more Private property (Which is exactly what Liberal socialism does).
True Anarchism is the rejection of everything that is Non-Communist and the Anarchist revolution therefore is the only workers revolution that can bring about Communism.
"It is only by the abolition of the state, by the conquest of perfect liberty by the individual, by free agreement, association, and absolute free federation that we can reach Communism - the possession in common of our social inheritance, and the production in common of all riches." ~Peter Kropotkin
"Let us fight to free the world - to do away with national barriers - to do away with greed, with hate and intolerance. Let us fight for a world of reason, a world where science and progress will lead to all men’s happiness. Soldiers! in the name of democracy, let us all unite!" ~Charles Chaplin
"Communism is Anarchy. You can't regulate or reform your way to communism; it can only be achieved by direct action against state, class and capital."