Leaving the game when there's afk in your team?

In dota it's not bannable if you leave the game while having afk in your team. Is it bannable in lol? I don't want to play 4vs5 yet my team don't want to surrender.
Report as:
Offensive Spam Harassment Incorrect Board