Yes, you can. However, the IRS only allows you to take pieces over time. You’ll need to look into the instructions for depreciation or form 4562.
Most cars are subject to the luxury auto limits meaning there is a cap as to how much you can deduct as depreciation expense each year. For someone that has never dealt with this before, it can seem very complicated. Now might be a good time to hire a CPA to handle your return. Part of the cost (for the CPA) is also deductible as a business expense!