Heat about 3 tbsp olive oil in a wok. Add dates, scallions, garlic, bay leaves, ginger, and turmeric. Season with kosher salt. Cook, stirring occasionally, until fragrant and garlic is starting to soften, about two minutes. Transfer mixture to a small bowl and set aside. Discard bay leaves
If cooking chicken, heat another 3 tbsp of olive oil in the wok and add the (optionally velveted) chicken. Cook undisturbed for several minutes, then stir fry until cooked through. Transfer to plate
Heat 3 tbsp olive oil in the wok. Add the rice and press into an even flat layer. Cook undisturbed until crisp underneath, about 5 minutes. Shake wok to loosen, then break rice up into large pieces with a spatula and turn over. Scatter coconut flakes on top and cook, undisturbed, for another 2 minutes
Mix in date mixture and soy sauce (and chicken, if using). Toss to break up rice clumps. Taste and add salt as needed. Remove from heat and let cool slightly
Add mint leaves and lime juice to taste before serving