It is generally advised that aluminum foil shouldn't be used in cooking case because it forms aluminum oxide which is harmful for our body. However, you can use it.