Preheat oven to 400°F. Pierce potatoes several times with the tines of a fork and place on a baking sheet. Roast until tender when pierced with the tip of a knife, about 1 hour. Set aside to cool slightly.
When cool enough to handle, peel, discarding skins, place flesh (2 ½ cups) in the bowl of a food processor, and process until smooth (or place flesh in a medium bowl and mash well). Set aside to cool completely.
In a medium bowl, whisk eggs, sugar, lemon zest, cinnamon, allspice, nutmeg, and salt until well combined. Whisk in half-and-half.
Add egg mixture to cooled sweet potatoes, and whisk until thoroughly combined. Whisk in melted butter. Pour into baked crust.
Bake until filling is set and the tip of a knife comes out clean when inserted into the center, 50 to 60 minutes. Cool completely before slicing. Serve topped with whipped cream, if desired.
