Dice sweet potatoes into ½-inch cubes for even cooking. Chop vegetables and prepare your protein.
Cook bacon until crispy. Remove and drain excess grease. (For vegetarian/vegan versions, skip this step and heat olive oil.)
Cook onion, bell pepper, and garlic until soft and fragrant.
Add diced potatoes and spices. Cook 12–15 minutes, stirring occasionally but allowing potatoes to sit long enough to develop crispy edges. Cover briefly if needed to soften.
Return bacon and stir in beans, if using.
Create wells in the hash and crack eggs directly into the pan. Cover and cook until whites are set. Serve hot with avocado slices, green onions, or a drizzle of hot sauce.