In a mixing bowl, whisk together the chocolate pudding mix and milk until smooth.
In another bowl, beat the softened cream cheese until creamy.
Gradually add the powdered sugar to the cream cheese, mixing until combined.
Fold in the whipped topping into the cream cheese mixture gently.
Combine the chocolate pudding and cream cheese mixtures until fully blended.
In a serving dish, create layers starting with a layer of the pudding mixture.
Add a layer of crushed chocolate cookies on top of the pudding.
Repeat layering until you reach the top, finishing with a layer of the pudding mixture.
Top with remaining crushed cookies to resemble dirt.
Garnish with gummy worms and edible flowers for decoration.