It's possible but you would have to use the car for the sole purpose of Doordash and/or other delivery/ride-sharing platforms. I went down that rabbit hole with my tax guy my first year of Doordashing and he said that it's usually best to just write off your mileage instead of your expenses.