The margins on restaurants are already very small.
Instead (at least in my experience) charge more for items purchased via DoorDash/Uber Eats.
In effect you get a discount for ordering and picking up.