Q:

Is smoking out of aluminum foil bad for your lungs

Answer

Yes, foil has other additives. Without knowing exactly what these additives are it's impossible to say. It is best not to do that.