Fossil fuel use for cooking is a non-problem as far as climate change goes. The amount used for that purpose is a rounding error in the global carbon emissions. We can absolutely keep cooking with fossil fuels if we manage to phase out their use for heating, electricity generation, and transportation.
They absolutely do screw indoor air quality though, which is why I plan on installing a gas wok burner in my outdoor kitchen once I can afford to.