Yes, ghostwriting is completely legal in the USA. Ghostwriting agreements are valid as long as both parties agree on terms, such as confidentiality and content ownership. Many professionals and public figures use ghostwriting services to articulate their thoughts, and reputable ghostwriting companies prioritize ethical standards and transparency in their services.