Wash the sweet pumpkin thoroughly, cut it in half, and remove the seeds.
Bake the sweet pumpkin in a 180°C (356°F) oven for 20–25 minutes.
Scoop out some of the cooked sweet pumpkin flesh to create a bowl shape.
Finely chop onion and bacon, add olive oil to a pan, and sauté them.
Add the scooped pumpkin flesh to the sautéed ingredients, season with salt and pepper, and mix well.
Fill the pumpkin bowl with the mixture.
Top with heavy cream and cheese, then bake in a 200°C (392°F) oven for 10 minutes until done.