Madness Made Them Great - Thomas Jefferson, Steve Jobs, Estée Lauder, and Charles Lindbergh suffered from the same mental illness.
I do not think any professional would term obsessionalism to be a "mental illness." It's a character trait which exists on a spectrum, more common in men than in women. A good dose of it can be highly adaptive in life. Too much can be paralyzing.