Mileage Deduction

I am listed as a driver on the insurance for  the car I use as a Doordash Delivery Driver. Am I allowed by the IRS to deduct mileage even though I'm not the owner but am listed as a driver?