Peacocks are sometimes kept as pets or ornamental birds in large, spacious environments like farms or estates. However, they require specific care and space due to their natural behaviours, such as roaming and displaying their feathers.