No.
In response, Israel has committed pretty much every war crime including genocide. This has been confirmed after 2 years of investigation by the UN. Israel say that the UN is biased against them. Likewise for pretty much every NGO that's been involved.
Rather than retaliate like any other country, they vowed that they would starve the people, and that's what they've done. They complain that they're expected to feed the Palestinians, but destroyed always of them supporting themselves and blocked every exit. Children are having amputations without anaesthetic. Babies dying of starvation.
Whether Hamas are underneath the hospitals is a matter of debate (Israeli 'evidence' of this produced has sometimes been shown to be not credible), but whether they are underneath or not, does not excuse the commission of war crimes.
War crimes by their very nature can't be justified. Many children have been killed by snipers, shoot in the head. Journalists have been systematically killed to stop reporting reporting of what the IDF is doing to Palestinians.
The level of destruction in Gaza exceeds that of Dresden.
Meanwhile, the Israeli government and it's members have discussed what to do. It's been suggested the nuke the Palestinians. Some were drawing up plans for a concentration camp. Mass deportation which would amount to ethnic cleansing. They've they've been eyeing up the beachfront real estate.
So no. Not like any country would. Just Israel is allowed to get away with this whilst the world is too scared of being called anti-Semitic to call them to account.