Yes, many famous authors get their books ghostwritten like:
Stephen Covey in The 7 Habits of Highly Effective People with Ken Shelton.
Donald Trump in The Art of the Deal, “with Tony Schwartz”
Chris Gardner in The Pursuit of Happyness (inspiring the film with Will Smith), “with Quincy Troupe
Sam Walton in Made in America, “with John Huey”