The issue here is not having an easy way to block porn, the issue is enforcing it. And easy ways to block apps and websites already exist. One I can recommend is called Freedom.
(I expected it to be harder to find with that generic name)
edit: I like Leechblock for Firefox