Closest I found in MacOS is reopen previous windows, which just launches the launcher of few apps I use, but doesn't actually resume.
While I'd recommend against it, the command I believe you're looking for is:
sudo pmset -a hibernatemode 3
Edit: this does not appear to work correctly on macOS 15? I'm getting mixed results[1]. It looks like Hibernate was added back to Apple Silicon Macs with macOS 11.3[2]1. https://apple.stackexchange.com/questions/416108/how-to-enab...
You have to set some CLI flags for it: https://apple.stackexchange.com/questions/51725/do-macbooks-...