Technically it’s possible for a gas furnace to explode, but it’s extremely unlikely. Most furnaces have built-in safety features including automatic shutoff if conditions are dangerous.