I've quit coffee x3 during my life time (am 69 y/o). I can't even remember the last time I quit because - now I drink an occasional decaf latte or mocha (occasional meaning 1 x a month if that). I drink black tea - but usually before noon to ensure a good night's sleep.
Working in alternative crisis mental health I gave relaxation groups for 15 years - here's a sample from my personal blog with audio: https://psychesweather.wordpress.com/2016/02/04/a-relaxation-meditation/
In the same context I also gave classes in sleep hygiene: https://the-kai9.medium.com/optimal-rest-aka-developing-good-sleep-hygiene-f749a6cc9773