Yes! You could either make the whole dish, then cover it in tin foil and reheat in the oven later. Or you could assemble the dish earlier in the day and refrigerate it before cooking it later.