Wash and dry the okra.Top, tail, and slice the okra into 2–3 cm pieces.Slice the onions. Heat ½ cup of the ghee in a wok over medium-high heat.
Add the okra and onions and stir to coat them in the ghee.
Fry until the onions and okra start to brown, then remove them from the pan and set aside.
Add a little more of the remaining ghee to the same pan, as needed.
Add the spices and temper for 10–15 seconds, until fragrant.
Add ½ a can of plum tomatoes, mashing them in the pan, and fry with the spices until the oil separates.
Add the chopped chillies, if using.
Add the lightly whisked yogurt, if using. Stir it in and reduce the heat to medium.
Return the onions and okra to the pan. Cover and cook over medium-low heat for 30 minutes.
Serve with chapatti or naan.