Preheat the oven to 425°F (220°C).
Prepare the ingredients: Peel the sweet potato. Cut the sweet potato, bell pepper, and bacon into 1/2-inch (1.3 cm) cubes. Cut the onion into 1/4-inch (5mm) slices. Finely chop rosemary. Combine olive oil with garlic powder and paprika.
Place all the vegetables and bacon on a large baking sheet. Toss with olive oil and spices until well-coated. Season with salt and pepper. Make sure the bacon pieces are not clumped.
Bake for 18 minutes.
Take the baking sheet out of the oven. Stir all the vegetables. Make 4 wells between the vegetables, crack the eggs into wells. Season the eggs with salt and pepper.
Put the baking sheet back in the oven and bake for 4 minutes or until the egg whites are set but the egg yolks still runny. Transfer the vegetables and eggs to plates.
Enjoy!