Prep the oven and pan: Preheat the oven to 350°F (175°C). Lightly grease a 9x13-inch baking dish with cooking spray or oil.
Cook the add-ins: Warm olive oil in a skillet over medium heat.
Sauté onions, peppers, and mushrooms until softened and most moisture evaporates, 5–7 minutes. Stir in spinach last so it wilts quickly. If using meat, cook it fully and drain excess fat.
Whisk the egg mixture: In a large bowl, whisk eggs, milk (and Greek yogurt if using), salt, pepper, garlic powder, and smoked paprika until smooth and slightly frothy.
Layer the casserole: Spread the cooked vegetables and protein evenly in the baking dish.
Sprinkle half the cheese over the top. Pour the egg mixture evenly over everything. Finish with the remaining cheese.
Bake: Place on the center rack and bake 30–40 minutes, until the center is just set and a knife inserted near the middle comes out mostly clean.
The top should be lightly golden.
Rest and slice: Let the casserole rest 5–10 minutes. This helps it set up so slices hold together. Garnish with chopped herbs, slice, and serve warm.