No it is not herpes, It is folliculitis which happens to everybody
It's hard to tell what a sore is from once they are healing, but herpes sores are blisters. They don't look like pimples. They also never last 2 months. At most, they last a couple of weeks.
Those look like they may be infected hair follicles, or yes, maybe pimples.
You can get herpes sores on your thighs, but it's far more common to get them in the genital area.
Some closer photos
https://imgshare.io/image/Nx98wg
https://imgshare.io/image/Nx9XK7
https://imgshare.io/image/Nx9AIx