Yes, aluminum foil can be used for cooking, but with caution. It's great for wrapping foods to retain moisture or for lining baking sheets to prevent sticking. However, avoid using it with acidic or high-sodium foods as it may react, potentially releasing aluminum into the food. Also, do not use it in broiling or direct flame as it can melt or catch fire. Always follow the manufacturer's guidelines for safe cooking practices.