Pumpkins are, technically, squash. Each variety might have a different flavor, but they can certainly be substituted for each other. You just might find you need to adjust for the sweetness (or lack thereof).
Sounds like a good experiment with butter and, perhaps, brown sugar.