ghostwrite
verb
°To write under the name of another (especially literary works).
"Maria would rather not ghostwrite for a living because she finds it a thankless task."
°To author a literary work or speech in the place of another.
"The president has someone to ghostwrite his addresses."