You certainly can, but you will most likely have to cut it up or work in stages. Remove the seeds if you are cutting the pumpkin into chunks, you don't have to peel it. The peel will easily remove after cooking. The cook time will remain the same, but it will most likely take longer for the Instant Pot to come up to pressure because of the increase in volume.