Good on you for trying to do better. I don't think that AHK would be disallowed if all you're using it for is to completely disable you from chatting and being toxic. And I don't think that anyone would really know because you can't chat.
One thing I will say, though: toxicity literally does nothing but make your teammates give up/play worse. If one of your allies makes a bad play and you say something like "gg noob", all you're really doing is tilting them harder. As such, you'll lose more games because you're being toxic because your teammates are likely to play worse. If someone flames you or starts being toxic to you, there's a mute button that'll shut them up really fast. If you can fix your toxicity, rather than disabling yourself entirely, you can do a lot better in games by encouraging your team and telling them what they should be doing.
One YouTuber, Foxdrop I think it was, made a video a few days ago about how to tell people they need to play better and how they can without seeming toxic, and the biggest thing he talked about in that video was to make sure not to target them specifically with it. They get caught, say "We need to group" or "We need wards" or something like that, and they'll know you're saying it because they got caught out, but they won't take offense to it because it's targeted at the entire team, not just that one person. Me, I do target people sometimes, but only when I want them to do a specific task separate from the rest of the group. For example, I'll tell our split pusher to go split push while the rest of us take Dragon/Baron or push down a different lane. Or I'll say "I'll get drag, you start splitting bot, everyone else mid and I'll be there in a sec." Turn yourself into a leader, rather than just calling people idiots. I've tried to teach people how they should be playing, and that really just doesn't work in the middle of a game. I'm talking legitimate teaching, not simple toxicity. "You need to kite, here's how, after this game go practice it in a custom for a little while and you'll play better in the future," or something along those lines. Their response: "/all report Brutalitops01 for toxic".
The other thing is that you need to worry more about yourself. When someone makes a mistake and you start being toxic, now you're more worried about being a douche to them and putting them in their place than you are about the game, what you're doing. As such, you'll play worse yourself while you're being toxic because you're focusing on the chat box, rather than the game.
Honestly, I once was a toxic player myself. I started playing back in season 1, and I was exactly the same as you, except I fixed myself when my account first got a temporary ban rather than after multiple permabans. I pretty much just shut up. Now, I rarely talk in games, and when I do I'm talking about how we win. What plays to make, where the split pusher should be going, where everyone should be. I be a bit more snarky and jokey on the boards, rather than in-game where me talking like that will make that game harder to win. "Just how dumb are you to think that X champion is broken, or X champion isn't?" I saw a post a few weeks ago where a guy was saying that Jhin isn't broken and Kalista is. Couldn't help but saying something similar to that to that guy. But, if someone had said something similar to me in-game, I wouldn't have responded like that. It's just a matter of controlling what you say so your teammates don't play worse, give up, or start trolling. This is something you seem to need to practice, so practice it. If someone makes a mistake, just shut up about it. Even LCS players aren't perfect. Even the champions make mistakes in their games. Where you are on the ladder just depends on how often you make mistakes and how impactful your mistakes are in the game.