Yes, just as if you “would have died in a week from kidney failure” but instead die of suicide, your death is coded as a suicide. Just as if you would have (had you not been infected with SARS-Cov-2) survived for decades with chronic kidney disease which contributed to your death from COVId-19, your death is coded as due to COVId-19 ... assuming you are one of the few to have been tested ... otherwise it will be coded as something else even if it was COVId-19 that killed you. And just as if you would have died in an hour from COVId-19 but instead you die of an unrelated heart attack, your death is coded as due to heart attack.