don't know about heating aluminum foil, but when I was a kid in early 70's I was out hiking and forgot my canteen. Found a spring out of a bluff and made a cup out of the foil I carried back then and it held water for me to drink. -- back when I didn't worry about pollution/organisms in water.