Yes, sabzi and dal can be layered in one container without significant flavor mixing if you allow them to cool completely and use an airtight container. Proper layering techniques also help.
Flavor mixing primarily occurs due to moisture and temperature. When hot food is sealed, condensation forms, which can carry flavors between layers. To prevent this:
Cool Completely: Allow both the sabzi and dal to cool down to room temperature before layering. This minimizes condensation.
Airtight Container: Use a container with a tight-fitting lid to prevent air and moisture from entering, which can accelerate flavor transfer.
Layering Technique: Place the dal, which is typically more liquid, at the bottom. The sabzi, being drier, can then be layered on top. This helps prevent the dal's flavors from permeating the sabzi as easily.
Consider a Barrier: For extra protection, you can use a piece of parchment paper or a thin, food-safe plastic sheet between the layers. This acts as a physical barrier against flavor transfer.
If you're particularly concerned about flavor mixing, consider using separate containers altogether. This is the most foolproof method, especially for dishes with strong or distinct flavors.