Are pacifiers safe for newborn?

My one month old baby loves her pacifier, she sucks on them every night and cries the roof down if it is taken away from her. The pacifier is literally the only way to get her to sleep. Is it safe for her to suck on it for hours??