This simple datapack adds a LootTable to remove the Pumpkin overlay using the equippable component and camera_overlay field
How to: Break a Carved Pumpkin = Carved Pumpkin without overlay
90% of ad revenue goes to creators