I wouldn't try it. A month or two ago someone posted a thread because he tried the same thing. The snake ended up trying to eat it. Maybe drape the shirt/towel over the cage on half of the top, or I it's a tub just put the shirt/towel next to it but I would definitely avoid putting the towel in the cage.
Sent from my iPhone using Tapatalk