I know it's common today to use the word "epidemic" as a hyperbolic way of referring to any phenomenon that seems to be increasing in occurrence, but its literal meaning refers to phenomena that propagate rapidly through networks of interaction between individuals.
So a literal interpretation of "loneliness epidemic" would describe a situation in which people are catching loneliness from their contact with each other.