Can a babies temperature reach 102 while teething?

Not From Teeth. Teething does not actually cause a fever. Viral infections do most of that. Teething can cause stress to the body and in turn make the child more likely to get a viral infection and there by get a fever, but it may not be related to teething at all. Treat the symptoms with otc infant tylenol (acetaminophen) and if it persists then see your provider for care.
Teething. No. The current consensus is that teething does not cause significant fever. While it may cause irritability and sleep disturbance, fever >100.4 is most likely due to a coincident illness such a viral upper respiratory infection, otitis media, etc.
No. There is no evidence that teething causes this level of temperature elevation. Baby is sick. Consult your pediatrician.