Preheat your oven to 350°F (175°C) and line a baking sheet with parchment paper.
In a medium bowl, whisk together the flour, baking soda, cinnamon, nutmeg, ginger, and salt until evenly combined.
In a large mixing bowl, beat the softened vegan butter, brown sugar, and granulated sugar until creamy and smooth.
Add the pumpkin puree and vanilla extract to the butter mixture, mixing until fully incorporated.
Gradually add the dry ingredient mixture to the wet ingredients, stirring until just combined.
Fold in the rolled oats and optional raisins or chocolate chips, ensuring they are evenly distributed throughout the dough.
Using a tablespoon, scoop out portions of the cookie dough and place them on the prepared baking sheet, spacing them about 2 inches apart.
Bake in the preheated oven for 12-15 minutes or until the edges are lightly golden. The centers may look slightly underbaked but will firm up as they cool.
Remove from the oven and let the cookies cool on the baking sheet for 5 minutes before transferring them to a wire rack to cool completely.