In theory yes. However, we had an electric fryer some years ago and the lid sprang open during cooking, spattering my wife with hot oil as the condensation under the lid dripped into the oil. She was holding a week-old baby at the time, but luckily had her back towards the fryer.Electric fryers are so much safer, with a primary thermostat and secondary thermal cutout - and, even if that all fails, the lid presumably offers some 'oxygen starvation'.
The manufacturer denied any responsibility, and claimed to have lost the returned fryer. I should have taken it to Trading Standards.