Prepare the chocolate protein pudding according to package instructions using milk or a high-protein milk alternative. Whisk until thick and smooth, then refrigerate for 5–10 minutes to fully set.
In a large mixing bowl, beat the softened cream cheese until smooth and free of lumps.
Add Greek yogurt to the cream cheese and mix until fully combined and creamy.
Add protein powder, vanilla extract, and cocoa powder (if using). Mix on low speed until smooth. Taste and add sweetener if needed.
Gently fold the prepared protein pudding into the cream cheese mixture using a spatula. Mix until fully incorporated without overmixing.
If using cake, prepare it according to package instructions and allow it to cool completely. Cut or crumble into even pieces.
Crush the chocolate sandwich cookies using a food processor or place them in a zip-top bag and crush with a rolling pin.
In a glass baking dish, begin layering. Start with a thin layer of pudding mixture.
Add a layer of cake pieces (if using), followed by a layer of crushed cookies.
Spread another layer of the pudding mixture evenly over the cookies.
Repeat layers until all ingredients are used, finishing with a thick layer of pudding on top.
Sprinkle the remaining crushed cookies generously over the top to create the “dirt” effect.
Cover the dish and refrigerate for at least 4 hours, preferably overnight, to allow flavors to blend and layers to set.