Definitely not comparing to coca leaf use. To your point though, refined THC in the form of hashish has a much longer history than refined coca leaves. As has breeding for more THC.
Hashish does not actually have to be "refined" at all. There's zero chemical process involved. You're just taking the resin glands off the surface of the plant. Refining cocaine is starkly different from this, of course.