That sounds like an unrelated problem to your own addictions.
Arguably a dorm is pretty minimal as well, it’s just a climate controlled room with a bed.
If you have to physically remove yourself from housing to stop using technology negatively, that’s an addiction problem, not a problem with housing.