That's just employment, so its effectively the status quo in places with a ban on noncompetes. You can absolutely hire someone as an employee, when their only job duty is not to compete with you. You can even contract such employment for a set term. The problem, of course, is that employers want noncompensated noncompetes and at-will, no-set-term employment.