Is it possible to get herpes if somebody spits on your lips?

Possibly . If the person who spit on your lips is sick with their first herpes infection or is someone who has had it a long time and is just about ready to have a breakout when the number of virus particles on their lips are at their highest.