If body alignment can be maintained.
How to put the strap around the ankle with safe form?
Use hip hinge, use two dumbbells, keep weights close to body.
What alternative squat will work to accomplish the same strengthening goal?
Use Bone Fit adaptation
Do not curl upper body towards leg.
Seated or standing, keeping knee nearly fully extended, bend forward from hip