You can... partially. You can make invisible barrier around certain area in the zoo and then place elephant grass upside down along this barrier (hide it completely under the ground.
Place entrance somewhere for keepers. And that's it. You have free roaming peafowls.