Yes, totally okay. Pacifiers can help with soothing and even reduce the risk of SIDS. Some breastfeeding pros suggest waiting a few weeks to establish feeding first, but many moms introduce it earlier with no issues.
Your baby may love it or flat-out refuse it. They’re the boss. Try different shapes if one doesn’t work.
Just remember: you’re not “spoiling” your baby with comfort. Soothing is part of your job—and pacifiers can be a wonderful tool.