Again, assemble the casserole without the onions, cover with foil, and freeze. Vegan green bean casserole freezes well for up to 6 months. Leave it to thaw overnight in the fridge before baking so you can stir in the onions.