you can just make a law that websites are required to flag the html for pages that contain rated content so that isp and parents can filter whatever they want. all without infringung on people freedom.
i am sure smarter people than me can come up with an even better solution. this honestly just feel more like imposing religious values than anything else