It would likely depend on your phrasing.
"Damn, I might as well kms whenever enemy Kat shows up in the lane" - Okay, if a bit negative and defeatist.
"If I was as bad as our Trundle I would probably kms" - Not okay.
There was an instance of someone getting banned because they were heavily insulting themselves in chat. Riot reversed the ban (though he was banned again later for insulting his team but that's a different story).
So although Riot has been known to reverse bans when you are just insulting only yourself, I wouldn't recommend it simply because it might trigger the system if it has a hard time understanding that the only person you were berating was yourself.