Remove the skin and seeds from the pumpkin and steam it.
Mash the steamed pumpkin until smooth.
Add eggs, unsweetened cocoa powder, almond flour, and baking powder to the pumpkin and mix until well combined.
Pour the batter into a baking pan lined with parchment paper and spread it evenly.
Bake in a preheated oven at 180°C (356°F) for 20 minutes.
Let it cool and cut into bite-sized pieces.