Are there people who have done so much work before PhD that they get a PhD automatically?
The closest example I can think of is Mihai Pătraşcu.  After publishing several extremely strong results as an undergraduate, Mihai earned an MS in one year and then a PhD in one year, all in computer science at MIT.