I disagree there, most people are self-aware enough to know what they're saying is wrong in chat, not so much during a game with a "heat of the moment" feeling, but definitely after. If the feature showed your own messages after a game (kinda like when you get banned and it shows your logs) as well as not showing your messages at all I think it'd be extremely beneficial towards helping toxicity.
Most people just want an emotional release, especially during League with how frustrating it can get. Not all people have punching bags or a good way to release their stress or other feelings, so they, unfortunately, take it out on others.
Also, for you, it might be easy and not take a lot of willpower to not use the chat function, but for others, it's extremely hard to refrain from being toxic whether it's retaliating against an ass hole or yelling at somebody who's 0/10.
I mean if it was that easy League wouldn't be so toxic now would it?