Well, to anyone who can think, the answer is easy. Of course it can. If someone is trying to rape a woman (a violent act) and she shoots him (a violent act) then that solve sthe problem of that rapist, mainly that he is breathing. Both cats are indeed violent are they not? But all violence is not equal. His act of violence was an act of evil. Her act of violence was noble and good. It not only stopped her from being raped, but likely other women he may have targeted in the future.
I could go on and on, and on with examples of how some violence is indeed, necessary, and noble. But really, would it do any good for those who cling to the foolish saying that violence is violence, and never solves anything. I cannot grasp how anyone could believe such a demonstrably idiotic idea.
The Left, of course largely rejects such common sense, at least in part because they are so obsessed with equality. To them, anyone who judges one culture, or religion, or behavior over another is abominable. The same rule applies to violence. To say one act of violence is good while another is evil is unfathomable to them.