In a large bowl, whisk together the olive oil, lemon juice, minced garlic, cumin, coriander, smoked paprika, turmeric, cinnamon, salt and pepper until the marinade looks like a thick, spoonable paste.
Add the chicken thighs to the bowl and turn each piece until it is fully coated. Cover and refrigerate for at least 1 hour, or up to 8 hours for deeper flavor.
While the chicken marinates, make the pickled onions: bring the vinegar, water, sugar and salt to a simmer in a small saucepan, then pour the hot liquid over the sliced red onion in a heatproof glass jar. Let the onions sit at room temperature for at least 20 minutes, until they turn bright pink and soften slightly.
Rinse the basmati rice under cold water until it runs mostly clear. Melt the butter in a medium pot over medium heat, stir in the turmeric and rice, and toast for 1 minute until every grain looks pale yellow.
Pour in the chicken broth and salt, bring to a boil, then cover and reduce the heat to low. Simmer for 15 minutes, then remove from the heat and let the rice rest, covered, for 10 minutes before fluffing with a fork.
In a mixing bowl, toss the diced tomato, cucumber, parsley, olive oil, lemon juice and a pinch of salt. Set the salad aside at room temperature so the flavors have time to come together.
Whisk the mayonnaise, yogurt, grated garlic and lemon juice in a small bowl until the garlic sauce is smooth and pourable. Refrigerate until ready to use.
Heat the oven to 425 degrees F. Arrange the marinated chicken thighs in a single layer on a sheet pan, leaving space between each piece so they roast instead of steam.
Roast the chicken for 20 to 22 minutes, until it is cooked through and an instant read thermometer inserted into the thickest thigh reads 165 degrees F.
Switch the oven to broil on high. Broil the chicken for 3 to 4 minutes, watching closely, until the edges turn dark golden and visibly crisp.
Let the chicken rest on the sheet pan for 5 minutes, then slice it into thin strips against the grain, keeping the crispy edges on top of each piece.
Warm the pita wedges in a dry skillet or in the oven for 1 to 2 minutes per side, just until soft and lightly toasted.
Divide the yellow rice among four bowls. Top each with shredded lettuce and a scoop of the tomato cucumber salad, leaving room for the chicken.
Fan the sliced chicken over the top of each bowl, add a spoonful of pickled onions, and drizzle generously with the garlic sauce. Serve immediately with the warm pita wedges alongside.