The basic answer is yes you can.
The first carpet is written off, the replacement is added to the depreciation schedule to offset the income received from insurance.
After the second tenant leaves, that carpet that has been added to depreciation in the current year is also scrapped. The...