I suppose it could be used on Android as it is cross-platform.
On the client side of a Web app, I don't think it is possible, because it is quite complex. Also pas2js does not handle pointers.
Those are available in WebAssembly so it may be compilable to that in theory. The resulting file size may be a bit large for the web, though we may trim it for that if necessary.