Preheat the Oven: Preheat your oven to 350°F (175°C) and lightly grease a donut pan.
Make the Donut Batter: In a large mixing bowl, whisk together the flour, baking powder, salt, and granulated sugar. In a separate bowl, whisk together the egg, milk, melted butter, vanilla extract, and almond extract (if using). Pour the wet ingredients into the dry ingredients and stir until just combined.
Fill the Donut Pan: Spoon the batter into the prepared donut pan, filling each cavity about 2/3 full.
Bake the Donuts: Bake for 10–12 minutes, or until a toothpick inserted into the center comes out clean. Let the donuts cool in the pan for a few minutes, then transfer them to a wire rack to cool completely.
Prepare the Crème Brûlée Filling: In a small saucepan, heat the heavy cream over medium heat until it just begins to simmer. Remove from the heat and set aside.
Make the Custard: In a separate bowl, whisk together the brown sugar and egg. Gradually add the warm cream, whisking constantly. Return the mixture to the saucepan and cook over low heat, stirring continuously, until it thickens slightly (about 2-3 minutes). Remove from heat and allow to cool slightly.
Assemble the Donuts: Once the donuts are completely cool, use a knife or piping bag to make a small hole in the center of each donut. Fill each donut with the crème brûlée custard.
Caramelize the Topping: Sprinkle the granulated sugar evenly over the tops of the filled donuts. Use a kitchen torch to caramelize the sugar until golden and crispy, or place the donuts under a broiler for a few seconds to achieve the same effect.
Serve: Serve immediately for the best texture and flavor!