Yes, but you've missed the point: the problem with ozone was depletion in the upper atmosphere by CFCs. But CFCs do not persist for millennia and ozone is continually produced by natural processes. So if you stop emitting CFCs the problem naturally fixes itself in a short period of time (a few decades).
But even if we reduced CO2 emissions to zero tomorrow that would not solve the problem because we are already at 150% of pre-industrial CO2, and CO2 persists for thousands of years. We've taken carbon that was sequestered by natural processes over a period of hundreds of millions of years and released it back into the atmosphere in a period of a few hundred years. That genie will not go quietly or quickly back into its bottle.