You can
work each
leg muscle
individually (with exercises like hamstring curls,
leg extensions, inner and outer thigh machines, butt machines, and calf raises), but it will take you much more time and not be as beneficial as squats, or dead lifts, or lunges.