Already in Greece of the fourth century BC there were ghostwriters, so-called logographers. The best known were Lysias and Antiphon of Rhamnos, who wrote pardon for their customers for payment, they memorized (more or less) by heart and then even in court. Known was u.a. the speech that Lysias wrote for a disabled artisan of apparently dubious reputation, whose pension should be canceled.
This speech is characterized by special wit, wit, a certain amount of peasant shyness, emotion and partly by naïve confidentiality. In making speeches for others, Lysias developed a pronounced mastery of empathizing with the person and particular situation of his clients, for whom he drafted the speech designs in question.
He possessed properties that are almost natural for a qualified ghostwriter today. A “good” representative of his subject first asks who he should write for, for what reason or for what reason, on which occasion the work written by him “as if by a phantom” should be presented and, above all, with what precision It has to be prepared or at which level, whether with a scientific claim or more generally.
But not only in Athens, but also later in Rome, when the Imperium Romanum covered almost the entire then known world, ghostwriters found extensive fields of activity. So let e.g. the Roman rulers, the Caesars, make their speeches on many occasions by professional referees.