IMO birds are flock animals and need to live with others of its kind.
Your profile doesn't not say where you live so I don't know what your weather conditions are. Where I am, we have long winters with lots of snow, and long periods of very cold.
The peacocks do amazingly well in the winter, but in addition to a large outdoor secure run, they have a large area of the barn they can access to be out of the wind.
I suggest you look at some the experts on the peafowl thread to get an idea of their beautiful set-ups.
Your peachick will have different feed needs when it hatches. Again the peafowl thread is an amazing resource.
Please don't think I am trying to discourage you, I just want you and your possible peachick to have the best chance for a great life.