In this mock coconut pie (spaghetti squash pie) recipe, squash masquerades as coconut and will leave everyone guessing at the pie's secret ingredient.
Preheat the oven to 350 degrees F (175 degrees C).
Beat sugar and eggs together in a large bowl until light and frothy; beat in melted butter, lemon juice, and vanilla extract until well blended. Stir in spaghetti squash.
Pour spaghetti squash mixture into baked crust; dust top with nutmeg and cinnamon.
Bake in the preheated oven until a knife inserted into center comes out clean, 40 to 45 minutes. Cool on a wire rack before slicing.
Garnish slices with whipped cream.