Let's rephrase: can you create a clone, a derivative work of a working OS browser, which only has DRM part not changed?
I'm not sure if you're asking for technical or legal advice. If legal, then since most of us are not lawyers here, strictly speaking we can't judge if "Hello, world!" program will put us in jail or not.