No.
If it were just one person at the front door, ya, you could not do it, if it is a gang, banging “threatening to enter”, just blow their F’ing heads off and let someone prosecute you for defending your life against thug action... but don’t open the door, blow a hole through the door, your stopping their entry... that’s how I would defend it.