Until the 1970's it was in every state. Even Jefferson thought that it should be.
Thomas Jefferson, A Bill for Proportioning Crimes and Punishments - 1778
Whosoever shall be guilty of Rape, Polygamy, or Sodomy with man or woman shall be punished, if a man, by castration, if a woman, by cutting thro' the cartilage of her nose a hole of one half inch diameter at the least.
That's what a crafter of the Constitution thought the punishment should be. However, Virginia kept the death penalty.
So your answer is yes?
Jefferson was not a crafter of the Constitution, he was in France when it was “crafted”, and he was not in favor of it.