Yes. To separate the garlic from coming in contact with the foil, you can add a layer of parchment paper in between. Simply wrap the garlic bulb in parchment, then wrap that in foil. To avoid using tin foil altogether, place each bulb in a muffin tin cup, then place another tin upside down on top of it.