Yes, the movie is loosely based on the lives of real outlaws Butch Cassidy and the Sundance Kid, although some fictional elements were added for dramatic effect.