No, but he may well have modeled Holmes off of people who did have Aspergers - just because it hasn't been diagnosed doesn't mean it doesn't exist. Similarly some of the people who die of old age in older texts can be assumed to have probably died of cancer; the writers didn't know about it but the symptoms look familiar today and they may well have known people with the symptoms.