Search "hip openers" and you will find people folded in half, legs behind their heads. It is easy to conclude the goal is all about flexibility. Ancient India stated a different goal.
What the tradition says
The Hatha texts describe seated postures so that the practitioner can sit comfortably for breath practice and meditation. The hips are opened so that the seat becomes sukha, at ease. Flexibility is a by-product, not the aim. A person who can sit easily on the floor for twenty minutes has met the purpose, whatever a photograph might show.
What modern evidence says
Moderate for stretching improving range of motion; weak for extreme flexibility protecting against injury.
Regular stretching increases range of motion, largely by raising tolerance to the stretch. But more range is not always better. Strength across the range you have matters as much as reaching further, and pushing joints to their end range repeatedly without strength can irritate them. There is little evidence that extreme flexibility protects against injury.
One thing to try
Change the question you ask in a hip opener. Instead of "How far can I go?", ask "Where can I breathe easily?" Stop at the first point where the breath stays slow and smooth, and stay there for eight breaths. Then press gently into the floor or your hands, as if to come out, without moving. This builds strength, not just reach.
Try this: Hips for sitting well · 10 min
Go deeper: Why hips hold tension · What sitting tall actually means
Sources: Hatha Yoga Pradipika, chapter 1, the postures from 1.19 (trans. Brian Dana Akers); Yoga Sutras 2.46 (trans. Edwin F. Bryant). Reviews of stretching, range of motion and stretch tolerance.