Yes, but make sure to leave enough space around the foil to allow heat to circulate and never let it touch the heating element.