Dopamine hits are definitely a path to depression.
Immediate gratification, especially if it’s semi-randomly applied, rewires the brain to specialize it for low-effort-low-reward activities, which basically makes success in the real world less likely, making the real world overwhelming, leading to a partial freeze response which is aka depression.