Cut the boneless chicken thighs into bite-sized pieces and place them in a bowl.
Add the coconut milk, lime juice, red pepper flakes, ground cumin, smoked paprika, salt, and black pepper to the chicken. Mix well until the chicken is evenly coated. Allow it to marinate for at least 15 minutes, or longer if you have time.
In a large skillet over medium heat, add the olive oil and let it heat for a minute.
Add the chopped onion to the skillet and sauté for about 5 minutes until it becomes translucent. Then, add the minced garlic and grated ginger, cooking for an additional 2 minutes until fragrant.
Add the marinated chicken along with all the marinade to the skillet. Cook for about 15-20 minutes, stirring occasionally, until the chicken is cooked through and tender.
Taste the dish and adjust seasonings, adding more spices if desired.
Garnish the dish with fresh cilantro if using. Serve hot over rice or alongside your favorite vegetables.