Probably not. Babies' mouths aren’t known for being the cleanest places. Having one regularly attached to a recent nipple piercing is asking for trouble.
There’s also the theoretical risk of jewelry falling out and into the infant’s mouth — recipe for disaster. Some professionals recommend removing nipple piercings for the whole duration of nursing.