Wilomn makes a point that I guess can just not be made enough. Comparing people to snakes is very misleading. But for the sake of argument lets look at people. People are routinely put in prisons where they are given what they need to be physically and mentally healthy (at least as much as they were before prison).
Many people choose to live in boxes no bigger than 1000 to 2000 square feet with ceilings sometimes only 8 to 10 feet high. Often its hard to get humans out of these boxes and if they do come out, its not for long. Humans will scurry from one box to another and seam perfectly happy. Thats what humans need/want to be happy. If you have a problem with keeping animals in captivity that's one thing, but if you have a problem keeping certain species of animal in a specific enclosure you best have a lot of experience with that specific species before you attack someones reputation.