Don’t think this will comply. Needs to have clear opening 0.33sqm min, 450min height, 450min width, 1100mm max off the floor. Im also not sure that an electric rooflight will comply as what if the power goes off?
An alternative is a protected passage to the front door. If you fit fire doors...