Partially. Mark Twain based Huck, Jim, and Tom Sawyer on real people he knew along the Mississippi River, but the narrative is fiction.