I had HPV as a teenager. Could that have caused chorioamnionitis during my pregnancy?

No. The two are not related at all. Hpv for the most part is confined to the squamous cells on the outermost portion of your cervix, of your vagina, vulva and anus. We don't always know why women get chorioamnionitis. Hope you and baby are doing okay.