Sure you can. in fact dying for a cause tends to cause much greater change than surviving it.. we call those martyr.
And yea, people might die, and that is sad.. but they also created the hate towards them directly via their actions.. they killed to make people hate them, so while i dont want to see violence against them I also wont use the fact that they are hated for murder as an excuse to allow them to murder.
When you are responsible for creating hatred, violence, and crime, partly due to the very poverty you intentionally inflict, then there are consequences. Cleaning up crime even in america results in a lot of cops dying, that is just part of the process to fix things, so if you dont want cops dying create a society that has less violence rather than complaining about a society being violent when you are the one who made that happen.
Remember the Hamas didnt exist prior to the israel invasion. Also remember several Israeli terrorists groups arose pre-israel long before the hamas even took shape.