There is, of course, an enormous world of difference between the sort of management or leadership role someone might adopt voluntarily, with the revocable consent of their peers, with no enforcement mechanism—like a sports team captain—and the hierarchy (literally: “rule by the sacred priests”) to which anarchists object.
Most critiques of anarchism as utopian assume that anarchists believe anarchism is “self-sustaining” or operates out of some intrinsic sense of altruism. In reality, egalitarianism, just like hierarchy, is a social choice that requires constant work to sustain.