I’m sorry to hear you have been struggling with this problem for so long. Proximal hamstring tendinopathy can be quite resistant and tough to get rid of in some cases. Anterior pelvic tilt does apply extra stress to the tendon. Here is a video from my YouTube channel with exercises that can be helpful.
Replied on Hip Flexor Stretch
07 Nov 10:33
Peg A. I would recommend putting a pillow or pad under your knee.