Yes, you absolutely can; in fact, winter squash makes a fabulous pumpkin pie. You'd just need to roast the squash and purée enough of it (in a blender) to make this pumpkin gooey butter cake recipe.