Such things exist... successful researchers can get buyouts from most of their classes at some universities. The problem is, there is way more teaching that needs to be done then research that needs to be paid for.
Also, in many places, the professors teach the grad students, who teach the undergrads in kind, like a big pyramid, but it requires active research to keep the professors relevant to the grad students.