Most metal pipes are manufactured from a steel/aluminum alloy; those are safe to smoke- the metal combination is more stable. Pure aluminum foil, however, is not. You should be safe.