Yes, if the credit card borrowing is for consumer purchases. There is no exemption from cancellation of debt (COD) income for personal borrowing other than a home mortgage if forgiveness is completed before the end of this year.
Shifting income to a later year, such as where you defer taxable interest to the following year by purchasing a T-bill or savings certificate maturing after the end of the current year. Investments in qualified retirement plans provide tax deferral.