Well, sort of. The story has elements drawn from real experiences, but it's also fictionalized to some extent for dramatic effect.
It depends on your perspective. While there may be kernels of truth in it, the story has been embellished and adapted to make for a compelling narrative. So, it's not a straightforward true story but has roots in reality.