Pillow?

Okay, so is it safe if my son is using a blanket in his crib FOR a pillow? I’ve heard pillows are a no until they are in a toddler bed so I’m worried.