I've done something like that before. On a trip to Oregon, we made burritos and wrapped them foil. Then we put the foil packets in the engine compartment near the exhaust headers. Smelled great! When we stopped we opened the hood and took them out, this was the result. Sorry I don't have any before or after pics; the food wasn't super good though. It was burned through the foil where it touched the engine parts but not cooked away from the contact points. Still, fun!