Are genital herpes and HPV related to each other?

Yes and no. They are both viruses, but they are different kinds of viruses. This means that they share similar qualities, but they are different families of virus. Hpv is a human papilloma virus and HSV is a herpes virus.
No. They are completely different diseases caused by completely different viruses.