That’s exactly what Israel is doing ... bombing Hamas while warning Palestinian civilians just prior to the attack in their local area.
That is waste of bombs.
This is a situation where “collateral damage” is a plus. The Palis hate Jews to the point that they kill themselves trying to murder them. Might as well send them on their way without a risk to Israelis.
Embargo the Gaza Strip. Start squeezing the Border to the Med Sea. Make the population move into Lebanon and Syria! Clear the land of all population. Annihilate all Terrorist with the sweep that can be found! Reestablish new border on Lebanon
Crossing!
It would be fine with me if Israel made Gaza look like Berlin in May 1945. I would say Hiroshima in Aug 1945, but too many Israelis would die of radiation sickness. :-)