The dissolute man whom we now speak of as a rake was said to be a rakehell four hundred years ago, and we still sometimes use the older word.
The original term was cynical and figurative.
It came from the thought that one would have to rake hell to find a person so vile as the dissolute scoundrel whose character was under consideration.