Lying face up and lifting both legs together off the floor by tilting the pelvis, rather than just swinging from the hips, keeps the load on the lower abs instead of the hip flexors alone. A small controlled range beats a big kicking motion here.
Log your lying leg hip raise sets in 1RM.fit and watch your estimated 1RM update automatically as you get stronger.