Add the ground almonds, erythritol, cinnamon, ginger, nutmeg, cloves, baking soda and salt to a large mixing bowl. Stir together well to combine.
Add the melted butter to the bowl. Add the lemon juice and vanilla extract. Mix everything together well to combine.
Add the pumpkin purée. Stir together well to combine. The mixture should be quite thick at this point.
Crack the egg into the bowl. Beat everything together well to combine. You should have a thick batter.
Drizzle in the almond milk a little at a time. Continue beating together until smooth and well combined. You should have a thick but scoop-able cake batter.
Divide the mixture evenly between 10 silicone cup cake cases, suitable for an air fryer. Arrange 5 of the filled cup cake cases in the base of your air fryer basket. Place the basket in the air fryer.
Set the temperature to 300 degrees Fahrenheit and set the timer for 15 minutes. After this time, check the cakes are risen and golden, and a skewer comes out clean. If not, cook for a few minutes more. Carefully remove the cooked cupcakes and set to one side to cool whilst you cook the remaining cakes. Ensure to cool completely if frosting.