In one of my few plans that worked out, I bought some baby mallard ducks at the same time and raised the picky eaters (peacocks) with the glutton mallards and it worked perfectly.
We didn't find out until they got full-size that they would go up in the trees at night and make horror-movie-quality screams at night until it was almost too late.
They were excellent pets though. The male was a real exhibitionist and would put on his show at the drop of a hat.
I spoiled my peacocks shamefully with people treats -- torn up bread (they prefer white and it must be fresh), raisins, grapes, blueberries, shelled peanuts, etc. And they had a barn where they retired at night. A fox killed their leader one night, and after that they refused to come out of the barn. One of the males would stand at the door of the barn and display his tail and prevent the females from coming out. I had them for almost 10 years, but eventually they all died. I never succeeded in getting them to hatch their eggs.If I ever adopted peacocks again, I would leave them to their own pursuits and would not try to get too chummy with them. The hens just pecked one of my males to death because he thought he was a person.