Boil onion, New Mexico chile, garlic, California chile, pasilla-ancho chiles, and salt until chiles soften about 35 minutes.
Remove chiles from water and discard stem and (optional seeds).
Place all chile skins, onion, garlic, and 3 cups of boiled chile water to blender. Blend until smooth.
Pour chile sauce mixture through a sieve and into a bowl. Press chile flesh against sieve to squeeze out all the liquid. Discard any seeds and skin collected in sieve. Place to the side until ready to use.
Preheat oven to 375 degrees Fahrenheit.
Slice sweetpotato on a mandoline lengthwise to make long thin pieces (like noodles or corn tortillas). Set to the side.
Warm 1 tablespoons of olive oil in a large frying pan over a medium heat. Add in pork chorizo and break up the chorizo up with a spatula. Cook for 15 minutes. Set to the side.
Pour ½ cup chile sauce into the bottom of an 8x8 baking dish and spread it around to cover the bottom. Layer in a single layer of sweetpotato thins. Pour ½ cup of chile sauce over the sweetpotatoes and spread to cover. Sprinkle in ¾ cup of cheese and ¼ cup pork chorizo.
Repeat the process until all materials are used and you have lasagna-like layers ending with cheese on top.
Cover baking dish with aluminum foil and place in the oven to bake for 35 minutes. Remove from the oven and remove aluminum foil. Place baking dish back in the oven for an additional 10 minutes to brown the top.
Remove from oven and allow to cool for 25 minutes before serving. Enjoy!