Technically, you aren't supposed to do that, but there's basically no way for DoorDash to know that you're using someone else's car. And since DoorDash is a food delivery service, the type of car you're using doesn't really matter (in contrast to Uber or Lyft, where your car is important).