Start by blending 1 ½ of your onions, vegetable oil, ginger, and habanero pepper until everything is a smooth paste. Transfer to a medium size bowl.
Then blend your diced tomatoes until smooth and transfer to the bowl with onion paste. You can mix until well combined.
Dice the remaining onion. Bring a pot to medium-high heat, add your remaining vegetable oil and sauté the onions for a few minutes, until it gets fragrant.
Then add the blended tomato/onion mix and cook until it starts cooking.
Add the rice and vegetable stock and cook on high, until it starts cooking.
Bring the heat as low as possible and cover with a lid. Cook for a total of 20-25 minutes.
After simmering for about 10 minutes, you can add the vegetables. Stir in well, until well combined and cover again, and cook for 15 more minutes.
Remove from heat and serve while hot.