As Mark has said, feeding a variety of food will mean that where one food lacks, another may supplement.
Feeding the pumpkin in moderation, as a treat, is I think an ideal. But I wouldn't do this with a pond of smaller Koi.
I would be nice to think that putting pumpkin in the pond after pellets would help, but the trouble is, that small Koi will fill themselves to the brim with food. After 10 minutes were elapsed, the small Koi would then be ready to try and sqeeze in the pumpkin mix!
Tosai of around 10cm are a prime example of how much small Koi can eat. They can be relatively slim before a feed, but like rugby balls immediately after a feed. An hour later, the shape will be pretty much back to normal. If these Koi were allowed 'all you can eat', they would ruin themselves!
Mike.