Partly. The story takes inspiration from real events and combines them to create the fictional character of Forest Gump. But it's not a direct account of one person's life.
Yes, Forest Gump is loosely inspired by real events and people. The character's experiences touch on various historical moments and social issues of the time.