I see questions like this a lot, it's like saying "I'm missing an ear, am I still human?"
There are some things that vary in the disability and there are other things that are more concrete.
Most psychologists agree that Social and Communication difficulties, Sensory processing disorder, Obsesive and repetitive behaviour and executive function disorder are quite concrete and are usually required for a diagnoses ( and I know people are going to argue and say "I don't have sensory problems and I'm autistic!" I'm just going by what my psychologist told me, I'm not disproving or invalidating anyone's diagnoses)
Things that vary are the ability to speak, liking and disliking other people, IQ levels, balance and coordination skills, and other things. Pretend play definitely varies.
It"s something that needs deeper evaluation such as what kind of pretend play.
Usually autistic people have difficulty or just do not play roles such as playing house, school or other things, basically re-enacting adults. This type of play requires the ability to think on the spot and work off peers in a social environment.
One thing autistic children do play is re-enacting television, movies, comics and video games. This form of play has scripts and a specific way of playing that is predictable and always the same.
Playing with toys, making them talk and doing things I'm actually not sure of, never asked or looked into it.
Most autistic children actually have a imaginary friend believe it or not, this is a form of pretend play.
So the short answer is yes; autistic people CAN and DO pretend play and it varies a lot.
_________________
Obsessing over Sonic the Hedgehog since 2009
Diagnosed with Aspergers' syndrome in 2012.
Diagnosed with Autism Spectrum Disorder Level 1 severity without intellectual disability and without language impairment in 2015.
DA:
http://mephilesdark123.deviantart.com