It depends. Some parts of Franklin might be based on real events or people, but it could also have fictional elements added for entertainment purposes.
The Benjamin Franklin kite story is based on historical events and is considered true. It's a well-documented part of his experiments and contributions to the understanding of electricity.