If you have restrictions in hip flexion that will be an issue when attempting pistols.
It may not be a mobility issue.
Have you done any skill work/progressions for pistols?
Recommend Carl Paoli’s rolling pistol and pistol progressions
Doing a lesson w/ a knowledgable coach would be beneficial.
Have someone video you.
Seeing exactly what is going on has a big impact.