How about a shortcut that launches when Safari launches. It could prompt you to verify you really want to do this for example: https://support.apple.com/guide/shortcuts/welcome/ios
You can also just limit your browser time: https://discussions.apple.com/thread/8546412?sortBy=rank