The difference between the wild and captivity is that if one of those snakes decides that it doesn't want to be around the others, it can crawl as far away as it wants to feel safe. They are not forced to live like that, they are making a choice. By permanently housing multiple snakes in a captive environment, you are forcing them to live like that and not giving them a choice.
-adam