It's pretty rare, but I've been known to stop at a drive-through in the middle of a long ride for a quick dose of sugars and carbohydrates to stave off an impending 'bonk' in the middle of an unexpectedly long ride. Never had any problems, just some odd looks.