This gives way too much credit to a smart phone, computer or electronics!
You are ultimately in control, not these things. You can overcome this, even with these things in your life.
How empowering it would be if, despite having access 24/7 to whatever content with these electronic devices in your life, and without using even p-blockers or filters, you still overcame your habits!
You are in control, and you have to reteach your brain this. Start with small goals (1 day, 5 days, 1 week) until you slowly take back control from the lower brain.
Don't be a stranger, k-fff! Never give up!