Heat your oven to 375°F (190°C). Grease an 8×8-inch (20×20 cm) ceramic baking dish with butter or non-stick spray and set it aside.
In a large bowl, whisk together the pumpkin purée, milk, eggs, melted butter, maple syrup, brown sugar, and vanilla until completely smooth and well combined.
Add the rolled oats, pumpkin pie spice, cinnamon, baking powder, and salt directly to the wet mixture and stir until everything is evenly coated. Fold in the pecans if using.
Pour the mixture into the prepared baking dish and smooth it into an even layer. Sprinkle the cinnamon sugar topping evenly over the surface.
Bake for 35–40 minutes, until the edges are set and pulling away slightly from the dish, the top is golden, and the centre no longer wobbles when you give the dish a gentle shake. A toothpick inserted in the middle should come out mostly clean.
Rest for 5 minutes before slicing. Serve warm, drizzled with extra maple syrup or a spoonful of Greek yogurt.