In a large skillet or Dutch oven, heat the olive oil over medium heat. Add the diced onion and sauté until translucent, about 5 minutes. Stir in the minced garlic and cook for an additional minute until fragrant.
Add the ground cumin, coriander, cinnamon, paprika, and cayenne pepper (if using) to the skillet. Cook for 1-2 minutes, stirring frequently, until the spices are fragrant.
Add the chicken pieces to the skillet, season with salt and pepper, and cook until browned on all sides, about 5-7 minutes.
Stir in the rice, chicken broth, diced tomatoes, chopped apricots, and raisins. Bring the mixture to a boil, then reduce the heat to low. Cover and simmer for 20-25 minutes, or until the rice is cooked and has absorbed the liquid.
Once cooked, remove the skillet from heat and let it sit, covered, for 5 minutes. Fluff the rice with a fork and stir in the toasted almonds.
Serve warm, garnished with fresh cilantro or parsley.