No, *The Adventures of Tom Sawyer* is a fiction novel.
It was written by Mark Twain and tells the story of a mischievous young boy growing up in pre-Civil War Missouri. While the book is set in a real time and place, the characters and events are entirely made up.