Check out FocusMe: https://play.google.com/store/apps/details?id=com.focusme.an...
It supports what you're looking for: you can block both specific applications and URLs in all applications. It's worked well for me. They also supply a version on their website that includes uninstall protection: https://focusme.com/android/