Yes, when you hire a ghostwriter, the content they produce belongs to you. You can put your name on it and claim it as your own. This is part of the agreement between you and the ghostwriter.