Ive done this and topped the pumpkin with some brown sugar to carmelize. Baking it brings out the armomatics and gives a nice flavor. Then treat as a 60 minute addition in a bag. Strain though when you put into the fermenter. And dont be surprised if you lose a lot of water to the pumpkin...