Capybaras can be kept as pets, but they require a lot of space and specialized care. While they can technically live indoors or outdoors, it is typically recommended to keep them outside in a large enclosure with access to water.