Heat a wok or wide sauté pan over medium-high heat.
Add the coconut milk and green curry paste. Stir and cook for 2–3 minutes, until the color deepens and the aroma intensifies.
Add the eggplant and stir-fry for 3–4 minutes, until it begins to soften. If the mixture becomes too thick or dry, add a splash of water or low-sodium stock to help the eggplant cook evenly.
Add your chosen protein and continue cooking until just cooked through: Chicken, pork, or beef: about 5 minutes / Shrimp: about 3 minutes / Tofu: about 2 minutes.
Add the rice and stir-fry until everything is well coated in the curry and heated through.
Lower the heat to medium. Add the Thai basil and red chiles, stirring for about 2 minutes until fragrant.
Season with fish sauce and palm sugar, tasting to balance the salty, sweet, and spicy flavors.
Transfer to a serving bowl and garnish with toasted coconut flakes, if desired.