For a while, I saw an option to tip the restaurant as a line item in UberEats. Not sure if it's everywhere yet. It was also a bit confusing that there were two different tips, with different UX (since there's still the existing option to also tip the driver).
One issue with this approach is that the industry has lost consumer trust in this specifically. That is, DoorDash used to keep tips, then there was public outcry, then they said they would change, but then it looked like they actually didn't https://www.businessinsider.com/doordash-still-be-pocketing-...
(I know this is about it being for the driver, but the overall point still stands, I think.)
I believe it was a fixed number, maybe $5 that they matched? It wasn't part of the normal tip UI, it had its own CTA and was added as a line item on your receipt when you actually did it.