Unless you're loaded, its most def a rip off. After the restaurant gets their share, the government fee/taxes, employee wages, doordash fees, delivery driver wages ... 5-10% of the bill is actually food cost.
A rip off implies some kind of scam or unreasonable markup. Which isn't the case, it's just inherently expensive to have someone bring food to your door.