There is a relationship but the question is which one drives the other? I think it is becoming increasingly clear that warm temps decrease the ocean’s carrying capacity for CO2 and so there is more CO2 in the atmosphere. The Mauna Loa observatory actually recorded LESS CO2 this year. The thinking is that the strong La Nina has resulted in lower temps and more carrying capacity for the oceans.
There doesn’t even have to be a direct cause and effect. The relationship can be indirect or even coincidental. Like for example, higher temperatures lead to more plant growth which in the short run absorbs CO2, and then leads to greater release of CO2 eventually.