That sounds a good idea. I have tiger barbs, various tayras & rasboras. I occasionally put in boiled & de-skinned peas which the barbs love, green leafy vegetables and cucumber they seem to like too as do my plecs.
I generally starve them one day a week & put some kind of vegetable matter in for them instead.
Hope this idea works out for you!! ☺.