Generally, no. Foil will cause a blockage in the circulation of the air inside your fryer, making it much less efficient, and impairing food quality. So porous materials are preferred.