Preheat your oven to 400°F (200°C) and line a baking sheet with parchment paper.
- In a bowl, toss the cubed sweet potatoes with 1 tablespoon of olive oil until evenly coated. Spread them out on the prepared baking sheet.
- Bake the sweet potatoes for 20-30 minutes, or until they are tender and slightly crispy. Alternatively, cook them in an air fryer at 400°F (200°C) for about 10 minutes.
- While the sweet potatoes are baking, heat the remaining 1 tablespoon of olive oil in a large cast-iron skillet over medium heat. diced white onion, and the onion is translucent.
- Once the sweet potatoes are done, add them to the skillet and onion. Stir to combine and cook for an additional 1-2 minutes. Season with salt and pepper to taste.
- Create three small wells in the sweet potato mixture and crack an egg into each well.
- Place the skillet under the oven broiler on high for 2-3 minutes, or until the egg whites are set but the yolks remain runny.
- Remove the skillet from the oven, sprinkle with chopped green onions, and serve immediately.