pacifier at bedtime

Tanya
Is it ok to give my 40 day old preemie a pacifier at bedtime.  He is swaddled and I got the pacifier to stay put by using the swaddle blanket to hold it in.