Yes, Albert Einstein did get a PhD.
According to information, Einstein studied physics at the Eidgenössische Polytechnikum (ETH) in Zurich from 1896 to 1900. In 1905, he submitted his doctoral thesis to the University of Zurich. His doctorate and corresponding certificate were conferred in January 1906.