Make ahead dishes in cast iron
It wouldn't be unsafe to eat, but the overnight storage would be bad for the seasoning on the cast iron.  Depending, it could even result in you needing to reseason the pan from scratch.  

I suggest instead using a glass or ceramic baking dish.