You can spray them, perfectly legal. Although the dead bees left behind will weigh approximately 5 lbs, so the stench of dead flesh and then the real crap begins. Wax moths digest the wax and flood the cavity with gelatin mess smells like dumpster juice. When the beetles lay 100k eggs and eat and shit honey and make beetle maggots. The bees keep these pests at bay from their resources. Now the roaches and rodents seek the flesh and sugar mess for food. Then the white soffit turns black with organic mold.