Preheat your oven to 400 degrees Fahrenheit and rub an 8x8-inch pan with olive oil.
Heat a large pan on medium heat and cook the bacon until crispy, flipping once, or about 2-4 minutes per side. Transfer the bacon to a paper towel-lined plate (do not drain the fat) and blot off any excess fat from the bacon. Set aside.
Add the potatoes and onions right into the pan with the remaining bacon fat. Cook until they just begin to brown and start to become tender, about 5 minutes.
Add the cumin, salt, cinnamon, smoked paprika, and allspice, and stir until the potatoes are covered. Add the tomato paste and stir it around. Cook, stirring frequently, until the potatoes are mostly tender, but still a little undercooked, about 5-7 minutes. Transfer them to the bottom of the prepared baking dish and spread out evenly in a single layer.
In a large bowl, whisk together the diced tomatoes and eggs, adding a pinch of sea salt. Crumble up the cooked bacon and whisk it in. Pour over top of the sweet potatoes, spreading out until all the potatoes are covered.
Bake until the top feels set, about 30-35 minutes. Let stand for 4-5 minutes.
Garnish with cilantro and enjoy!