Preheat the oven to 400 degrees F/205 degrees C. Grease a 9x13-inch baking dish or 3 quart casserole dish with butter or nonstick cooking spray.
Prepare the sweet potatoes. Scrub clean and poke the outside skin several times with a fork. Place them on a baking sheet lined with aluminum foil.
Roast for 50 to 60 minutes until fork-tender. Carefully slice open to let steam escape. Let them cool slightly before scooping out the flesh for the casserole.
Decrease the oven temperature to 350 degrees F/180 degrees C.
Scoop the sweet potato flesh into a large bowl. Add the coconut milk, maple syrup, vanilla, egg, cinnamon, nutmeg, and salt. Use a hand mixer to blend until smooth and fluffy, about 1 to 2 minutes.
Transfer the filling to the greased baking dish and spread it out with a spatula.
In a food processor fitted with the S-blade, combine the pecans, pumpkin seeds, and oats. Pulse until chopped into small pieces.
In a large bowl, combine the melted butter, brown sugar, pecan and pumpkin seed mixture, salt, and cinnamon. Mix until combined.
Spoon the topping over the filling in the baking dish.
Bake for 25 to 30 minutes until the casserole is bubbly around the edges and topping is lightly browned.
Leave a rating or review by tapping the stars on this recipe card (above) or in the comments section (at the end of the post)!