Yes, you can assemble the dish ahead of time, cover it tightly, and refrigerate it for up to 24 hours before baking. You may need to add an extra 10-15 minutes to the baking time if baking from cold.