Yes, it is safe to use a blanket or sheet to cover the cage at night as long as it is a breathable material and it does not impede the airflow in the cage. It's important to make sure that the cover is not too tight and that the bird has enough space to move around and breathe comfortably.