In a large bowl combine diced potato, sweet potato, onion, avocado oil, and all spices. Toss to combine and pour onto a rimmed baking sheet.
Place in oven and bake for 20 minutes.
Remove pan and add beans to potato mixture and using a spoon combine on the pan. Move the mixture to one side of the sheet pan add the whole chorizo sausage to the other. Return to oven for 10 minutes. (see note)
Remove from oven and create four small divots in potatoes to crack the eggs. Crack eggs in the divots and return to oven to bake for 8-10 minutes. Bake until eggs are cooked for desired texture. 8 minutes are soft runny yellow yolks. 10 minutes for more fully baked eggs.
If you prefer to slice up the chorizo and bake the slices instead of the whole chorizo you can do that at this step.