No. The Pumpkin Head is tied to the Halloween Town storyline, and once Oogie Boogie is defeated the sequence ends and Sora leaves the world without it.
There's no way to stall that transition or return for it afterwards, so treat it as a temporary costume rather than a collectible.