Puree the thinly sliced onion, ginger, ground almonds, chopped garlic, finely diced red peppers, ground cumin, ground coriander, ground turmeric, hot paprika powder, chili powder, and salt in a blender.
Heat the oil in a large non-stick pan over low heat. Add the puree and cook for 10 minutes, stirring frequently.
Add the skinned chicken legs, water, and lemon juice. Bring to a boil over medium heat, then reduce the heat to low and simmer, covered, for about 25 minutes until the chicken is cooked through (the thickest part should reach 74 °C / 165 °F in the center).