Preheat oven to 325°F and line an 8x8-inch pan with parchment paper.
Mix almond flour, cocoa powder, erythritol, melted butter, and vanilla extract. Press into pan and bake 8–10 minutes.
Beat cream cheese until smooth, then add erythritol and mix well.
Add eggs one at a time, then mix in vanilla extract and heavy cream.
Fold in crushed keto chocolate sandwich cookies.
Pour filling over crust and spread evenly. Add optional cocoa swirl if desired.
Bake for 30–35 minutes until slightly set in the center.
Cool at room temperature, then refrigerate for at least 3 hours.
Slice into bars and serve chilled.