Preheat the oven: Preheat your oven to 375°F (190°C). Lightly butter a 9 × 13-inch baking dish and place the dried sourdough stuffing cubes in a very large mixing bowl.
Crisp the pancetta: Add the diced pancetta to a large, cold skillet. Cook over medium-low heat for 7–9 minutes, stirring occasionally, until the fat renders and the pancetta becomes golden and crispy. Remove with a slotted spoon and set aside. Reserve the pancetta rendered fat for the steps below.
Brown the sausage: Increase the heat to medium-high. Add the Italian sausage, breaking it into bite-sized pieces. Cook for 7–10 minutes until deeply golden brown. Avoid stirring constantly so the meat develops a good crust. Transfer to the plate with the pancetta.
Cook the vegetables: Reduce the heat to medium and add 4 tablespoons of butter to the skillet along with the fat from the rendered pancetta. Add the onion, fennel, and celery. Season with salt. Cook for 12–15 minutes, stirring occasionally, until very soft and beginning to turn golden.
Add garlic and herbs: Add the garlic and cook for 1 minute. Stir in the sage, rosemary, thyme, black pepper, and optional crushed red pepper flakes. Cook for another 1–2 minutes until fragrant.
Combine the filling: Return the sausage and pancetta to the skillet. Fold in the roasted chestnuts, if using. Stir to combine.
Deglaze: Pour in the white wine and scrape up the browned bits from the skillet. Simmer for 3–5 minutes until almost completely reduced. Then stir until combined and remove from the heat.