Cook the vermicelli noodles according to the package instructions. Drain and set aside.
In a large skillet, heat the ghee or unsalted butter over medium heat.
Add the chopped onion and cook until it becomes translucent and starts to brown, about 5 minutes.
Stir in the minced garlic and cook for another minute.
Add the ground cumin, ground coriander, ground cinnamon, ground cardamom, ground turmeric, and saffron threads (if using). Cook for 1-2 minutes, until the spices are fragrant.
Add the cooked vermicelli noodles to the skillet and mix well with the spices and onions.
Stir in the sugar, raisins, and sliced almonds. Add the shredded coconut if using.
Pour in the water and cook, stirring occasionally, until the noodles are heated through and the water is mostly absorbed, about 5 minutes.
Push the noodle mixture to one side of the skillet and pour the beaten eggs into the empty side.
Scramble the eggs until they are fully cooked, then mix them into the noodle mixture.
Season with salt to taste.
Enjoy your meal!