You can freeze the potatoes after they've been baked, but not before. I don’t recommend freezing the casserole before you cook it for one main reason — the potatoes and onions are raw, and when you freeze them, the cells in the vegetables will burst, and leak their natural liquids making the casserole watery.