Definitely sometimes feels like a digital prison.
Make no mistake, everything about your phone and your apps is designed to distract and seduce you. Your attention is somebody's payday.
I hope you are able to find a more comfortable routine.
Aside from that, this is the kind of thing where people often find success with help. It's also the kind of thing you can combat with "finding your why"; when you have a reason to get up in the morning, and focus all day on your passion, it becomes easier to ignore or dismiss distractions that don't contribute to progress.
Good luck!
RE: My addiction