Anonymity is only a deterrent when you are the odd one out. When the President of the US is the one spouting the insanity you don't have to hide anymore.
The problem with anonymous online echo-chambers is that it lulls those in the community that there are more of them in the real world than there really are, which emboldens people to take their online craziness into the real world. This goes for everything from politics to "The raid on Area 51"
I'm a furry, furry is a community built around an isolation between our IRL identity and our online one. But the community is tight knit enough that your reputation will follow you around - the identity you created for yourself yes - but still your identity, and if you're too far out of bounds, you get quietly (or loudly) excluded from the mainstream of the community. It largely functions the same way as tying your real name to every online identity.
Now take something like twitter - you start with a karma of say 75, anything less than 100 karma, and your tweets wont show up in searches, anything less than 50 and you start to disappear from timeline - even for followers, anything less than 30, you disappear from lists - effectively this creates an automatic shadow banning system.
But a saving grace, you earn a quarter point of karma just by not having any negative interactions on the site, you could also earn positive karma by upvotes on content.
You could also put some other bounds in there too, like limiting how much positive karma or negative karma a single post could earn, to prevent it from skewing the numbers too much (it should be based on a weighted average of interactions, not just on one tweet that goes viral and the rest of it is low effort shitposting).
Ideally you'd have a cross site 'identity' service that would also carry along a weighted karma score from all of the places you interact, and allow people to see those links - you're still abstracted from your real identity, and you're always welcome to start over again, abandon your account and start from zero, but there is persistent history of your interactions.
Yes, because in the real world - if you say something hateful enough to the wrong person - you'll get your head knocked off.
So people have some sort of filter.
When you take that away - the trolls with no lives come out just to agrivate people because misery demands company.
Free speech in the way it was envisaged in the constitution presumes there is a feedback loop back to the emitter of the speech. Anonymity breaks that feedback loop. Anyone who tells you that free speech without consequences has ever existed pretty much anywhere is lying to themselves and to you.
If you want anonymity you need some measure of bounds on speech in those places.