No, it's actually the opposite. Foil reflects heat and so the food inside the foil packet will get less of it. However, wrapping food in foil ensures the moisture is trapped inside and the longer cook time tends to make food juicier and tastier.