Has anyone taken anafranil (clomipramine) for over 20 years?

Absolutely! I have many patients who are doing well on it either by itself or in small doses together with an ssri. That way minimizes the potential side effects.
Yes. It is an anti-depressant medication, developed in the early 1960's and has been used since then. Many people have been on the medication for >20 years.