No substitute for squats.
your legs dont know you are squatting, the muscles just respond to intensity.
Your legs are way stronger than your low back, to really push the quads and hams to failure you would blow out your low back squatting way before your legs failed.