No.
The LL has to depreciate the carpet depending on the life expectancy of the carpet.
This article says the life expectancy of carpet, depending, would be 11 years:
Life expectancy | Old House Web
This is from the CA Dept of Consumer Affairs. Scroll down to the blue section:
California Tenants - California Department of Consumer Affairs
It also contains info on deductions for repainting.
This is the section on carpets and drapes:
2. Carpets and drapes - "useful life" rule
Normal wear and tear to carpets, drapes and other furnishings cannot be charged against a tenant's security deposit.
243 Normal wear and tear includes simple wearing down of carpet and drapes because of normal use or aging, and includes moderate dirt or spotting. In contrast, large rips or indelible stains justify a deduction from the tenant's security deposit for repairing the carpet or drapes, or replacing them if that is reasonably necessary.
One common method of calculating the deduction for replacement prorates the total cost of replacement so that the tenant pays only for the remaining useful life of the item that the tenant has damaged or destroyed. For example, suppose a tenant has damaged beyond repair an eight-year-old carpet that had a life expectancy of ten years, and that a replacement carpet of similar quality would cost $1,000. The landlord could properly charge only $200 for the two years' worth of life (use) that would have remained if the tenant had not damaged the carpet.