My chams used to sleep like that until I out in some more plants and they got a little bigger. The only time I move them is when they are sleeping on the screen cage.
Chameleons need 12 hours of lights off time no matter what age. If they do not get enough sleep they will be lethargic and immune system may drop causing sickness.