I played with disabling Safari but it's hard to sustain that because you'll often find yourself needing to open a random QR code to do something.
But I have buried it on the third page of a sub-folder, so I'm not tempted to randomly open it.
I think the most important thing is to just not /usually/ have the phone in your pocket, so you break the habit of reaching for it.