Yes, but as a programmer I'd rather have a mediocre programmer who is a good communicator and who knows how to integrate with the team, than someone who has uncontrolled narcissistic tendecies and oversteps boundaries constantly even if they technically know more.
This has btw. not much to do with being on the spectrum. I also worked with people with disorders which integrated quite well into the team, because they understood the processes and the scope of their position. They all were able to differenciate criticism of their work from criticism of their very being as a person.