Yes you can; it is called herpes whitlow. See related link.
Herpes will break out on your hand(s) if you had an entry site on your hands and they became infected. This condition is called herpetic whitlow.
However contracting herpetic whitlow on your hands is EXTREMELY RARE!
Chat with our AI personalities
You can get herpes on any skin of your body, but the rash is usually localized to one area. You don't see people with herpes simplex who have lesions covering all parts of their body. Herpes-like lesions all over the body is more likely to be chickenpox (varicella).