Heat a large skillet or braiser pan with olive oil on medium heat.
Saute the shallot in the oil for 2-3 minutes to brown. Add the garlic and toss for another 1-2 minutes.
Add in the pumpkin pie spice, salt, pepper, thyme and orzo and mix together.
Add in the pumpkin puree and tomato paste and mix well.
Pour in the coconut milk and vegetable broth, then mix together. Cover the pan and reduce the flame to simmer and cook on a low flame for 15-20 minutes. Be sure to mix every 5 minutes or so to prevent the orzo from sticking to the bottom of the pan.
Remove the pan from the fire and mix in 1/4 cup grated parmesan if using. Taste and adjust salt as needed.