Can you write off a rental for DoorDash?

I have a unique questions. After doing all of the math it will be cheaper for me to rent a car and then door dash (I get a discount). 

 

The question is - Can I write of the amount I pay for a rental at the end of the year for my taxes? My understanding is that I can not take the standard mileage deduction which makes sense because I don't own the vehicle. However, I can use actual expenses such as cost of rental along with gas. 

 

Is my thinking on this correct? 

 

To break it down, if I rent a car every other week for 24 weeks and it cost me $150 for 7 days. Can I write off the $3600 at the end of the year it costed me to rent the car for business purposes.