Preheat the oven: Preheat your oven to 350°F (175°C) and line a cupcake pan with paper liners.
Mix butter and sugars: In a large bowl, whisk together the melted butter, brown sugar, and white sugar until well combined and smooth.
Add wet ingredients: Add the avocado oil, eggs (one at a time), and vanilla extract to the butter-sugar mixture. Mix until fully incorporated. Then, stir in the pumpkin puree until smooth.
Combine dry ingredients: In a separate bowl, whisk together the gluten-free flour, pumpkin spice, cinnamon, baking soda, and baking powder.
Mix wet and dry ingredients: Gradually fold the dry mixture into the wet ingredients, alternating with the almond milk. Stir gently until just combined, taking care not to overmix the batter.
Fill the cupcake liners: Spoon the batter evenly into the prepared cupcake liners, filling each about 3/4 full.
Bake: Bake the cupcakes for 18–20 minutes, or until a toothpick inserted into the center comes out clean or with just a few crumbs.
Cool: Let the cupcakes cool in the pan for 5 minutes before transferring them to a wire rack to cool completely.
Frost: Once the cupcakes are fully cooled, you can frost them with your favorite frosting, such as cream cheese frosting or a dairy-free option.