Prep the pan: Lightly grease a 9-inch pie dish and preheat your oven to 350°F (175°C).
Make the crust: In a bowl, mix 2 cups almond flour, 3 tablespoons granular keto sweetener, and a pinch of sea salt. Stir in 5 tablespoons melted butter until the mixture resembles damp sand.
Press and bake: Press the crust mixture evenly into the pie dish, working up the sides.
Dock the base with a fork and bake for 10–12 minutes, until lightly golden. Let it cool completely.
Bloom the gelatin: In a small bowl, sprinkle 2 teaspoons unflavored gelatin over 3 tablespoons cold water. Let it sit for 5 minutes until it becomes spongy.
Start the pudding base: In a medium saucepan, whisk 1/2 cup granular keto sweetener with 1/4 cup unsweetened cocoa powder and a pinch of salt.
Add 1 cup heavy cream and 1 cup unsweetened almond milk, whisking until smooth.
Heat gently: Warm the mixture over medium heat, whisking constantly, until it begins to steam and small bubbles form at the edge. Do not let it boil vigorously.
Add chocolate (optional): If using, stir in 2 ounces finely chopped dark chocolate until melted and smooth. This adds depth and a silkier finish.
Melt in the gelatin: Remove the pan from heat.
Stir in the bloomed gelatin until fully dissolved. Whisk in 1 1/2 teaspoons vanilla extract.
Taste and adjust: Check sweetness. If needed, add a bit more sweetener to taste, whisking until dissolved.
Cool slightly: Let the pudding mixture sit for 10 minutes, whisking every couple of minutes to prevent a skin from forming.
Fill the crust: Pour the pudding into the cooled crust.
Smooth the top with a spatula.
Chill to set: Refrigerate for at least 4 hours, preferably overnight, until the pie is firm and sliceable.
Serve: Top with lightly sweetened whipped cream and a dusting of cocoa or shaved dark chocolate. Slice with a sharp knife and enjoy.