On a floured surface, unroll the cinnamon roll dough and flatten it with a rolling pin until it's about 1/4 inch thick, forming a large rectangle.
Sprinkle the flattened dough with 1 tablespoon of granulated sugar mixed with 1 teaspoon of cinnamon.
Spread the apple pie filling evenly over the flattened cinnamon roll dough, leaving a small border around the edges.
Starting from one long side, roll up the dough tightly, encasing the apple filling.
Slice the rolled-up dough into 1-inch thick pieces to create individual cinnamon roll swirls with apple filling.
Arrange the cinnamon roll slices in the greased baking dish, placing them cut-side up for a nice presentation.
Brush the tops with 2 tablespoons of melted butter for a golden finish
Bake for 25–30 minutes, or until the rolls are golden brown and the filling is bubbly.
While the pie is baking, prepare the cream cheese frosting (if using) by mixing 2 ounces of softened cream cheese, 1/4 cup powdered sugar, 1/2 teaspoon vanilla extract, and 1–2 tablespoons milk until smooth
Once baked, let the pie cool for about 10–15 minutes, then drizzle with cream cheese frosting or dust with powdered sugar, if desired