Roast the sweet potatoes. Preheat the oven to 425°F. Use a fork to poke several holes around each sweet potato. Place them on a sheet pan and roast for about 40–45 minutes, or until very soft and a knife or fork easily slides through the center.
Cool and peel. Let the sweet potatoes cool until they are comfortable to handle. Remove the skins; they should peel off easily after roasting.
Make the streusel. While the potatoes are roasting, stir together the pecans, rolled oats, almond flour, cinnamon, brown sugar, 1/4 teaspoon salt, and softened butter until evenly combined and crumbly. Set aside.
Reduce the oven temperature. Lower the oven to 350°F.
Mash the sweet potatoes. Place the peeled sweet potatoes in a large mixing bowl. Mash with a potato masher for a slightly more textured casserole. For a smoother filling, use a hand mixer.
Mix the filling. Once the sweet potatoes are no longer hot, stir in the maple syrup, melted butter, coconut milk, beaten eggs, vanilla extract, and 1/2 teaspoon salt. Mix until evenly combined.
Assemble. Coat a 9 x 13-inch baking dish with cooking spray. Spread the sweet potato filling evenly into the dish.
Add the topping. Sprinkle the pecan-oat streusel evenly over the sweet potato mixture.
Bake. Bake uncovered for 40–45 minutes, or until the filling is hot and fluffy and the topping is golden brown, toasted, and fragrant.
Rest and serve. Let the casserole sit for about 5–10 minutes before serving.