Yes, aluminum foil can be used for microwave cooking, but with caution. It's suitable for covering dishes to retain moisture or for steaming foods. However, it should not be used to wrap food directly or to create sealed containers, as this can cause sparks and potentially start a fire. Always ensure that the foil does not touch the microwave's walls or ceiling to avoid damage. It's also important to monitor the cooking process to prevent overheating or fires.