For sure. I alluded to additional challenges on Mars or other bodies. Even getting to Mars is a huge obstacle for us now. But a lot of brainwork has already gone into this issue, as I understand it. If/when the time comes, they will be ready.
A couple of related links:
https://www.nasa.gov/vision/earth/livingthings/25feb_greenhouses.html
Terraforming of Mars
Terraforming of Mars is a hypothetical process of planetary engineering by which the surface and climate of Mars would be deliberately changed to make large areas of the environment hospitable to humans, thus making the colonization of Mars safer and sustainable.
There are a few proposed terraforming concepts, some of which present prohibitive economic and natural resource costs. As of 2018 it is not feasible, using existing technology, to carry out any activities that significantly increase the atmospheric carbon dioxide (CO2) pressure or provide any significant warming of the planet. Any climate change induced in the near term is likely to be driven by greenhouse warming produced by an increase in atmospheric CO2 and a consequent increase in atmospheric water vapor.