Yes, ritual is the right word. I used to do it quite a lot during COVID with cassettes and CDs while working.
Helped me to more consciously get into work mode.