Question: is it illegal to go through a drive thru without a car?
Answer: Follow the rules. They're supposed to refuse service through the drive thru, and they can suggest that the person come inside to order instead. A pedestrian or bicyclist, or anyone without a motorized vehicle is in danger of being struck by cars in the drive thru.