Preheat your oven to 400 degrees Fahrenheit.
Add the cherry tomatoes to an oven-safe baking dish and drizzle with olive oil.
Sprinkle in the garlic, oregano, red pepper flakes if using, and black pepper. Toss everything gently to coat.
Place the block of feta cheese in the center of the dish, nestling it into the tomatoes.
Bake for about 15 minutes until the tomatoes burst and the feta softens.
Remove the dish from the oven and gently stir the tomatoes and feta together to create a creamy base.
Using a spoon, make small wells in the mixture and crack the eggs into each well.
Return the dish to the oven and bake for another 8 to 10 minutes, depending on how runny you like your eggs.
Garnish with fresh herbs and serve immediately.