As a pothead for decades recently cut down to just special occasions now. I can assure you that smoking a zoot before bed is not giving you a good sleep.
Can’t comment on the coffee as I don’t drink it.
Routine is the key. Same bed time and wake time every day. Never was a morning person now i wake up fresh before my alarm even goes off.
Oh boy when I do smoke a zoot now I suffer the next day.