Figuratively speaking, Yes a children's python could live it's entire life in a click clack. Should you or anyone subject an animal to such a life? No.
Would you buy a puppy only to let it live out its life in a dog crate?
Would you put a Macaw in a Budgie cage? Or a Horse in an apartments square court yard?
I'm going to go ahead and assume you were curious and not a moron who was actually considering keeping an adult Children's Python in a standard click clack.