Yes, you can defend against the carpet cost due to depreciation but, chances are, you will have to sue in small claims court to get your deposit back anyway.