Maybe he is, I never really thought about it. I mean, it's always rubbed me the wrong way when male friends say that Barney is awesome and he's their favorite character. I've heard people say they relate most to him, and I've never ben a fan of that. I always felt like Barney was supposed to intentionally be scum, but maybe he's not. Either way, he's never been my favorite character - I've always related most to Robin, who is an awesome character. The show kind of sucks now, though, and I wouldn't consider myself a fan anymore. But at least everyone I know who likes the show agrees that's pretty much trash now. Meanwhile, there are zero characters for a woman to relate to on any Chuck Lorre show. BBT is just depressing.
Barney may not technically be a rapist, but it's pretty damn close when you ply a woman with alcohol and then lie about every detail of your life in order to make her have sex. I seem to remember one where he convinces a woman he's from the future and she must have sex with him to save all of mankind or something. You know what, fuck it, I think this should constitute some kind of rape. Statutory rape is a thing. This should be a thing. Maybe. But whatever, it's despicable and it's in the same ballpark and I have seen many episodes where his friends encourage his behaviour, even assist in it. It adds to rape culture. Even if he grows as a character, you don't get that when you just watch an occasional episode. And you don't get that if you're an idiotic and impressionable young male.