Is this harassment?

I reconnected with a guy I used to hang out with in high school in the summer of 2020. We causally chatted and realized we have a lot in common and feelings started coming out. Well, he decided to move on and started dating a girl we both mutually know. Whatever. I was sad but life goes on. Fast forward two years to now, this man has contacted me almost every other month. He’s sent me naked photos, things he’d like to do to me, etc. I have him blocked on everything but somehow he messaged me through Facebook to my Instagram even though my FB is deleted. I’ve told his girlfriend about this multiple times throughout those two years too He’s a cop. I asked a retired cop friend for advice on how to go about this and if I should file a harassment complaint. He recommended I call and speak to his sergeant directly. I don’t think he’ll hurt me? But with how the state of the world is I don’t trust anyone anymore.

To be honest, I felt literally insane dealing with this. It has been emotionally messing with me to the point where I had a massive mental breakdown.

Is this harassment?