Exactly, kinda like what we did with CFCs!

Granted fossil fuels are much more ubiquitous than CFCs and comparatively more difficult to replace, but we have prior art for changing industrial practices in the interest of improving climate conditions.