@saxnot nope! anarchy is a just a lack of hierarchy, communism is a "stateless, classless, moneyless" society. they overlap quite a bit.
socialist states in recent history have mostly involved hierarchy, but it is not a definite part of socialism nor the end goal of communism.