Not necessarily. Barry might draw some inspiration from real life, but it's likely to have been embellished or fictionalized for dramatic effect. Many stories like this take liberties to make them more engaging.
Definitely not. Barry is a work of imagination. The plot and everything about it were crafted to tell an engaging fictional tale rather than being rooted in reality.