Saying these things to a friend doesn't make you invulnerable to suspension nor any restrictions. You shouldn't be saying these things at all. Regardless if you're friends with the individual or not. You're not permitted to flame in general using Riot Service as you agreed that you wouldn't in section 5. Code of Conduct at section 5.1.
The League of Legends chat is meant for friendly conversations, strategies, and friendly/positive constructive feedbacks.
Remember, after a 14-day ban, you get one more chance before permaban to change your actions in these games.
If you need to say anything to a friend, a joke or anything that is mildly too offensive for League Chat, say it in Discord, teamspeak, ect.