Warm the oil in a large skillet over medium heat. Once warmed add the onion, bell pepper and salt. Cook until onions are translucent and peppers soften; about 6 minutes.
Add the garlic, tomato paste, paprika, cumin, oregano and chili flakes if using. Cook and stir constantly until fragrant, about 45 seconds.
Pour in the diced tomatoes with juices and add the coconut sugar and the white beans. Give it a good stir and bring to a gentle simmer. Let cook for about 15 minutes, until the sauce begins to thicken.
Crack both eggs into the mixture and cover to cook for about 6 minutes or until preferred doneness; I prefer a runny yolk here.
Remove skillet from heat and add a pinch of salt and pepper to the eggs. Top with feta cheese and fresh herbs.
Divide into two bowls with crusty bread or naan on the side.