Preheat the oven to 425°F (218°C). Grease a standard muffin pan or line it with paper liners.
In a medium bowl, combine the brown sugar, granulated sugar, and cinnamon for the crumb topping. Stir in the melted butter, then gently mix in the flour with a fork until crumbs form. Set aside.
In a large mixing bowl, whisk together the flour, baking soda, baking powder, cinnamon, and salt.
Using a handheld or stand mixer fitted with a paddle attachment, beat the softened butter, brown sugar, and granulated sugar on high speed for approximately 3 minutes until creamy.
Add the eggs, yogurt or sour cream, and vanilla extract. Beat on medium speed for 1 minute, then increase to high speed until mostly combined.
With the mixer on low, gradually add the dry ingredients and milk. Mix just until incorporated.
Gently fold the peeled and chopped apples into the batter using a silicone spatula.
Divide the batter evenly among the prepared muffin cups, filling each cup to the top.
Distribute the cinnamon crumb topping over the muffins, gently pressing it into the batter.
Bake at 425°F for 5 minutes. Without removing the muffins, reduce the oven temperature to 350°F (177°C).
Continue baking for 15–18 minutes, or until a toothpick inserted into the center comes out clean.
Remove the muffins from the oven and cool in the pan for 5 minutes. Transfer to a wire rack.
For the optional icing, whisk together the confectioners' sugar, heavy cream, and vanilla until smooth.
Drizzle the icing over warm or cooled muffins and serve.