Law schools hunting for students as their enrollment numbers drop are increasingly trying to attract an unexpected group: people who have no intention of practicing law.

Doctors, environmental consultants and even an urban planner have signed up for the programs, which offer master's degrees in law and typically cost about the same as one year of law school.

Pitched...