No, but Bill Cosby has an eye condition that gives the impression that he might have had a stroke. It's a degenerative eye disease called "keratoconus," that affects the structure of the cornea.
In an interview with the comedian back in 2011, he was asked about this vision problem and what he replied was:
"Overall I’m feeling fine. My bones creak some, but for the most part I’m all right. The best thing is I’m able to get up in the morning and put one foot in front of the other."
Cosby has been in show business for over 50 years, and he just recently celebrated a comeback on Comedy Central with a stand-up special called Far From Finished.