No, it is not safe to microwave aluminum takeout containers. Aluminum is a metal, and metal should never be put in a microwave because it can cause a fire or damage the microwave.
When you microwave metal, it reflects the microwaves, which can lead to electrical arcing. This can create sparks and high temperatures, potentially causing a fire or damaging the microwave's interior. Additionally, it may cause damage to the microwave's magnetron, the component responsible for producing microwaves.
To avoid any potential hazards, it's best to transfer the food from the aluminum takeout container to a microwave-safe dish before reheating it. If you're unsure whether a container is microwave-safe, look for labels indicating that it is safe for use in microwaves or use containers made from microwave-safe materials such as glass, ceramic, or microwave-safe plastic.