Supposedly he didn’t do it for moral or health reasons, as a matter of fact, he was more motivated by financial reasons, as it enabled him to save half of the money his brother allotted for him for food, and spend it on books instead.
I learned about this fact from: Isaacson, Walter. Benjamin Franklin An American Life. Simon & Schuster: New York; 2003.