If the cops are on the way it could work. As part of an organized attack, clearly no.
So Israelis all have bomb shelters.
The hamas amateur rocket association knows this. So they fire off a shit ton a rockets to over whelm military, police, security, ect. Then gunmen on foot go raid homes. If they can breach the bomb shelter they set the house on fire.
This is siege warfare since forever.