For the most part, yes. Prairie dogs are active and social creatures and will naturally benefit more in an environment where they can be around others of their kind while burrowing and running around as they'd like. However, if you can mimic these environmental characteristics, they will do well in captivity.