It will depend on which node features/packages are essential, but it could probably be hacked together (possibly entirely using Atom's modular design, e.g. replace the standard file IO parts with browser-friendly ones like LocalStorage and the HTML5 File API).
Also: https://github.com/substack/node-browserify