Investors & landlords

Hi, experts: I was using my condo as personal property and then renovated in 2016.  However, I did not deduct the expense nor did I depreciate.  I rent it out after that.  I sold the condo in 2022.  Can I still add the renovation cost to the cost base of the condo? Thanks