Teething pains

Is it possible that my baby's teeth/gums are bothering him when he wakes up screaming in the middle of the night out of nowhere and when we calmed him down he just kept grabbing his ear???