Preheat oven to 400°F.
Cut the top off the pumpkin, scrape out the seeds, and pat the interior dry.
In a bowl, whisk the cream, sugar, eggs, egg yolks, vanilla, and salt until smooth.
Place the pumpkin on a baking sheet and pour the custard mixture inside.
Bake at 400°F for 30 minutes, then lower to 375°F and bake another 30 minutes.
Continue baking until the custard edges are set and the center has a gentle jiggle.
Cool at least 30 minutes.
For a crème brûlée finish, sprinkle sugar on top and broil or torch until caramelized.
Serve warm or let cool in refrigerator.