Preheat the oven to 400F.
In a bowl, add the oil, spices, sugar, and salt and mix to combine. Add the chicken and use your hands to toss to coat well.
(Scroll down for Instant Pot instructions).
In a 9x13-inch baking dish (see note), add the rice, onion (if using), and garlic.
In a high-speed blender add the water, coconut milk, greens, cilantro, soy sauce, and salt and blend until smooth. Pour into the baking dish and use a rubber spatula to try to spread the rice/onion evenly in the bottom of the pan. Carefully place the chicken on top. Cover tightly with foil.
Bake for 40 minutes, then remove the foil. Transfer the chicken to your cutting board. Check to see if the rice is cooked through (see “troubleshooting” tips below). If your rice is looking good, fluff it up gently and let it sit uncovered for 3 minutes so the rice can finish cooking and cool off.
In the high-speed blender (no need to rinse), add the remaining coconut milk, yogurt, lime, and salt and blend to combine. Alternatively you can just whisk this in a bowl or jar, but a blender will get it the smoothest.
Serve the rice and chicken topped with a generous amount of coconut yogurt sauce, pickled red onions, herbs, and nuts.