That's optimistic. Climate change is potentially reversible, but it would involve large-scale geoengineering or carbon capture that we don't have the technology for yet.
Developing and deploying that currently-nonexistent technology requires a stable, organized society. It's plausible that climate change could cause the breakdown of organized society before we're able to develop technology to reverse it.