Heat olive oil in a large pot over medium-high heat for 90 seconds. When the oil is hot, add the shallot, celery, and carrot. Cook for 8 minutes, stirring occasionally, until softened.
Add the red curry paste and lime leaves, stirring constantly for 2 minutes until the curry paste is fragrant and well distributed.
Stir in the pumpkin purée and vegetable stock (or water). Bring to a boil over high heat, then reduce to low heat and simmer uncovered for 20 minutes.
Stir in the coconut milk, rice vinegar, coconut sugar, and tamari. Remove the lime leaves if desired.
For the optional tadka, warm olive oil in a small skillet over medium-high heat for 90 seconds. Add the mustard seeds and cumin seeds. Cook for 45 seconds until they begin to pop.
Stir the pumpkin seeds, ginger, chilies, and salt into the hot oil, and remove from heat.
Serve the soup hot, with a drizzle of coconut milk, fried shallots, a spoonful of the tadka, and cilantro leaves.