Heat the oil in a large skillet or saucepan over medium heat.
Add the minced scallions and grated carrot and cook, stirring occasionally, until softened, about 2-3 minutes.
Add the minced ginger and red pepper flakes and cook for 30 seconds more until fragrant.
Stir in the water and tamari and bring the mixture to a boil.
Stir in the jasmine rice, decrease the heat to low, cover the skillet, and let it simmer until the rice is tender and the liquid is absorbed, about 15 minutes.
A few minutes before the rice is finished cooking, stir in the thawed peas and fresh Thai basil leaves. Replace the cover and let them steam with the rice for the final 2-3 minutes.
Fluff the rice with a fork.
Taste and adjust the seasonings, adding more red pepper flakes for heat or tamari for saltiness, if desired.
Serve immediately, sprinkled generously with the roasted cashews and toasted coconut.