Karl Marx’s biography is sort of similar.
Almost exactly similar.
Including the illegitimate child. A maid in the Marx household became pregnant--the official story was that Engels was the father (he was unmarried), but it is now believed that Marx was actually the father.
So’s Obama’s.