No, you can't freeze an egg bake before cooking. This could be a food safety issue. Cook your egg casserole completely and then freeze.