Preheat the oven to 325°F.
Add the peanuts to a dry skillet set over medium heat and toast, stirring occasionally, until lightly charred and fragrant, about 5 minutes.
Add the toasted peanuts, rehydrated ancho chiles, lime juice, chipotles in adobo, ginger, sugar, and salt to a food processor.
Pulse until a coarse paste forms, scraping down the sides as needed. With the processor running, slowly stream in the oil until the sauce loosens to a pourable, peanut-butter–like consistency.
Arrange the chicken thighs in a Dutch oven or large oven-safe skillet. Pour the salsa macha over the chicken and turn to coat thoroughly.
Cover with a lid or tightly with foil and roast for 1 hour and 45 minutes.
Remove from the oven and let the chicken rest for 15 minutes. Shred the meat, discard the bones, and mix it back into the sauce.
Serve over rice with fresh slaw for a bowl, or use as a taco filling.