Preheat your oven to 350°F (175°C) and line a 12-cup muffin tin with cupcake liners.
In a large bowl, whisk together the almond flour, granulated erythritol, unsweetened cocoa powder, baking powder, baking soda, and salt.
In another bowl, beat the eggs, then mix in the melted butter, vanilla extract, and almond milk until well combined.
Gradually add the wet ingredients to the dry ingredients, stirring until the batter is smooth and lump-free.
Divide the batter evenly among the prepared cupcake liners, filling each about 2/3 full.
Bake for 18 minutes or until a toothpick inserted into the center of a cupcake comes out clean.
While the cupcakes are baking, prepare the frosting by beating the softened cream cheese with powdered erythritol and vanilla extract until smooth.
In a separate bowl, whip the heavy cream until stiff peaks form, then gently fold it into the cream cheese mixture until well combined.
Once the cupcakes are done, remove them from the oven and let them cool completely before frosting.
Pipe or spread the frosting onto the cooled cupcakes and garnish as desired with keto-friendly decorations.