Heat the oven to 180°C (360°F) or 160°C (with fan option on) or gas mark 4.
Heat 2 tablespoons of olive oil in a large skillet, add the diced pumpkin and thyme and sauté for 3 minutes. Pour in a glass of water and cook for 15 minutes, then season with salt and pepper to taste.
Once the pumpkin is soft and has absorbed all the water, transfer to a blender and blend until smooth, or mash it with a fork until reaching the desired consistency.
Meanwhile, remove the casing from the sausages and crumble the meat with your hands. Heat the remaining 1 tablespoon of olive oil in a large skillet over medium-low heat, add the sausage meat and rosemary sprig, and cook until browned, stirring often.
Pour in the wine and allow it to evaporate, then continue to cook, stirring often, for 5 minutes or until fully cooked. Discard the rosemary sprig.
Add the pumpkin cream into the skillet with the sausage and mix to combine the ingredients, then season to taste.
To assemble the sausage pumpkin lasagna, start by spreading a thin layer of béchamel sauce over the bottom of a baking dish, then layer lasagna sheets and top them with pumpkin cream, crumbled sausage, chopped Scamorza (if using), grated Parmesan cheese and a drizzle of béchamel sauce.
Repeat the layers, finishing with grated Parmesan cheese and béchamel sauce on top.
Bake covered with foil for 20 minutes, then uncovered for an additional 10 minutes for a nice golden top. Once ready, remove from the oven, allow to cool slightly and serve.