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