Yes, of course. Bake it, let it cool completely, and cut it into serving portions. Store it in the freezer for up to 3 months. Then thaw it in the fridge overnight and reheat it in the oven.