Is there any way I can cook 2 different types of quiche spinach and mushroom Lorraine in one pan know for cake batter you just insert a piece foil but is it the same eggs?

You can't cook two different quiches in one pan at the same time using a foil barrier like you would with cake batter. Here's why:

* Temperature: Quiche requires a relatively high oven temperature to set the eggs properly. A foil barrier would trap heat, preventing even cooking and potentially leading to soggy or undercooked areas.

* Ingredients: The ingredients for spinach and Lorraine quiches are different. Spinach quiche typically uses just spinach and cheese, while Lorraine quiche uses bacon, onions, and sometimes other ingredients. These different components require specific cooking times and temperatures to achieve the desired results.

* Mixing: Even if you could create a barrier, the ingredients would likely mix and blend, resulting in a mixed-up quiche rather than two separate ones.

Here are some alternatives:

* Cook the quiches separately: The easiest and most reliable way to prepare two different quiches is to cook them separately in two different pie pans.

* Use a muffin tin: You could bake individual quiche "cups" in a muffin tin. This would allow you to make two separate quiches, with each quiche using a different recipe.

* Make one large quiche with sections: If you want to serve both flavors, you can create sections within one large quiche by dividing the filling into different areas of the crust.

Remember, when baking quiches, it's crucial to ensure the eggs cook evenly and the crust is golden brown. Always follow a reliable recipe and adjust the baking time as needed.