It is okay to remove dying pumpkin leaves because they can harbor pathogens of fungal diseases. Pruning pumpkin plants and removing dead leaves also helps boost plant health and speed up fruit development.
One of the techniques of pumpkin growers is removing some of the female flowers to divert all the plant energy into growing one giant pumpkin fruit.