Yes. The movie takes elements from the real-life story of Leo Sharp. However, it also adds some fictional elements and dramatization for cinematic effect.
Yes, it was. 'The Mule' was inspired by the true story of Leo Sharp, a World War II veteran who became a drug courier for a Mexican cartel in his later years.