This .mobileconfig (iPhone/iPad/iPod profile) will disable screentime. This requires your device to be "fake supervised", which requires iMazing or to have iSupervisor (if jailbroken).
iOS 12-14 tested only! I haven't had the opportunity to test this on iOS 15+, but it should work.
- Open this link in Safari.
- Hit allow on the pop-up.
- Go to Settings, and click on
Profile Downloaded
. - Hit install.
- Profit???