Pierce the eggplants with a fork and place them on a baking sheet. Roast in the oven for 45-50 minutes until the skin is charred and the flesh is soft.
Remove the eggplants from the oven and let them cool. Peel off the charred skin and discard.
In a large pan, heat the oil over medium heat. Add the chopped onions and sauté until golden brown.
Add the chopped tomatoes and cook until they turn mushy.
Add the turmeric powder, cumin powder, coriander powder, red chili powder, and salt. Mix well.
Mash the roasted eggplants and add them to the pan. Stir to combine with the spices.
Add the green peas and cook for another 5 minutes.