It's a debate that's been raging for a long time in the fandom, well before I was old enough to start grasping the moral and personal complexities of a lot of it. For example, we have Hank Pym, who gave Janet van Dyne a black eye in the midst of a psychotic breakdown that also saw him sic a robot on the Avengers that he would conveniently defeat so that the Avengers would see how "essential" and "necessary" he was to the team and not kick him out. We also have Tony Stark, who was frankly a womanizing cad before becoming Iron Man and (maybe) retains some of that attitude and demeanor to a certain extent, even if he's focused more on other things these days. That's just the personal aspect, though it's no less important than the "superhero" aspect. Naturally, with characters like Pym and Stark that are emphasized as deeply personally flawed despite being placed as heroes, the question really becomes, "Is there such a thing as good people who do bad things, or are they just bad people who do good things to hide it . . . until they don't or can't hide it anymore?"