No, if your Tama is sleeping it is usually having a nap before it is going to evolve (if it is at its younger stages)
or
If your Tama is an adult, then it simply means its time for bed.. It will sleep all night (same as us humans) and will wake in the morning.
And, no, you cannot do anything whilst your Tama is sleeping.
//Haze