Anarchism means "no rulers" not "no rules". If we all consent then what's the problem?
IRL consent is complicated by coercion - you can't disagree with your boss because if they fire you, you can't pay your bills.
DND is an asymmetrical activity. One person, the DM, has an outsized level of effort required. If im expected to create a whole world, NPCs, plots, and respond to all your nonsense, I think its totally fair to ask the players abide by a simple code of conduct.
Again, I've almost never had issues.