Preheat your oven to 375°F (190°C) and grease a baking dish with a little olive oil
In a large bowl, whisk together eggs, cottage cheese, and pesto until smooth and creamy
Set this mixture aside to allow flavors to blend
Heat 1 tablespoon olive oil in a skillet over medium heat
Add broccoli florets and sauté for 3–4 minutes until slightly tender but still firm
Season lightly with salt and pepper, then remove and set aside
In the same skillet, add remaining olive oil and increase heat slightly
Add cubed chicken and season with salt and pepper
Cook for 5–6 minutes until golden on the outside and fully cooked inside
Remove from heat and allow to cool slightly
Add cooked chicken and broccoli into the bowl with the creamy mixture
Add cherry tomatoes and shredded mozzarella cheese
Mix everything thoroughly until evenly coated
Transfer mixture into the prepared baking dish
Spread evenly with a spatula
Top with fresh mozzarella pieces (if using)
Sprinkle Parmesan cheese evenly across the top
Place the dish in the oven and bake for 30–35 minutes
Bake until the top is golden, bubbly, and slightly crisp
Remove from oven and let rest for 5–10 minutes
Garnish with fresh basil and chili flakes before serving
Slice and serve warm