"Literally" literally means "figuratively," according to the dictionary (whether Merriam Webster or OED).
Dictionaries also report how words are used and how meanings change over time.
https://www.merriam-webster.com/words-at-play/misuse-of-literally