Preheat your oven to 400°F (200°C).
In a large bowl, combine the cubed butternut squash and sliced apples.
Drizzle the olive oil or melted vegan butter over the squash and apples, then add the maple syrup, cinnamon, nutmeg, and salt. Toss everything thoroughly to ensure the squash and apples are evenly coated.
If using, add the chopped nuts and fresh herbs to the mixture and stir gently to combine.
Transfer the mixture to a greased baking dish, spreading it evenly.
Sprinkle the brown sugar over the top if you prefer an extra touch of sweetness.
Cover the dish with aluminum foil and bake for 30 minutes.
After 30 minutes, remove the foil and bake for an additional 15-20 minutes, or until the squash is tender and the top is slightly caramelized.
Once done, let it cool for a few minutes before serving.