Yes, it’s best to cook the vegetables before adding them to the quiche to ensure that they are cooked through and won’t release excess moisture during baking.