Answer:
Of course! Cooks have been doing that for decades. The only caveat: Some acidic foods may react to aluminum, especially tomato-based dishes -- but that's more an issue of a slight change in color. Just remove the food from the foil when storing in the refrigerator.