It's part of the service, if people don't order late at night many food delivery establishments would go out of business. If the establishment is OPEN late at night, and offers delivery service, then I don't think it is rude, unless you wait until 15 minutes before they close.