Peter Sellers in Dr. Strangelove or: How I Learned to Stop Worrying and Love the Bomb (1964)
A big fat 'Yes'. If absolutely none of the author's 'deviances' ever shows in his work, and if it reached an impressive level of excellency and eminence, then I don't think watching the movies/shows made either before or after the scandal would be like an endorsement of the things done privately. Not all the geniuses are good guys.