Grind oats into a fine powder.
In a bowl, mix oat flour, protein powder, baking powder, and unsweetened cocoa powder together.
In another bowl, combine milk, egg, Greek yogurt, and erythritol and mix well.
Combine the dry and wet ingredients to make a batter.
Pour half of the batter into a mug or oven-safe dish.
Drizzle espresso over the batter, then add the remaining batter on top.
Bake in a preheated oven at 180°C for 18-20 minutes, then dust with unsweetened cocoa powder on top.