Yes of course it's not simple. But there are papers about the topic, for example
https://iopscience.iop.org/article/10.1088/1748-9326/aa6b3f and
https://www.pnas.org/content/104/16/6550From these papers it looks like deforestation has overall a cooling effect, especially in the arctic.