Will you challenge to fight the Flutter created by Google?
I alluded to this in a previous post, as to what Google was doing with some of their "pet" languages, but the "cat is out of the bag" on this. Flutter is another one, that can do desktop and mobile development. They appear to have taken the custom drawn approach, and that's worked for them.
If you make it delphi compatible, you repeat the same mistakes Delphi made. I already said why I think Firemonkey is not a good solution...
Google's Flutter took a different route, and it's working for them.
As for Delphi's FireMonkey, have to strongly disagree with your assessment. FireMonkey has been arguably
a success for Delphi or at least it can be acknowledged as a good move by them to use as a mobile solution. It put them very much into the mix of mobile app creation. Delphi's true issue with FireMonkey is they bought it from somebody else, versus creating it in-house, thus they had to shoehorn it into their existing product. The Lazarus team have the advantage of "20/20 hindsight", so can correct mistakes that FireMonkey has made, in addition to if they went that route then it would be their in-house solution that they developed. What they would create, would likely more smoothly fit the Lazarus IDE and ways of doing things.
Delphi is part of the larger Pascal community. It will be mostly
Pascal users and supporters that will likely be using Lazarus, so will be wanting the Pascal language to be in the forefront of possible solutions on mobile platforms.
There is already Pas2JS which you can use with Cordova to create cross platform apps. Also LAMW works in a similar way, it basically auto-generates a Java GUI which communicates with a pascal backend. So all the GUI stuff is autogenerated Java.
Here, I'm in agreement with you that creating Pascal to "other language" transpilers are a viable solution. But, an essential point about this is that Pascal is the 1st class citizen, and that the transpiler is for leveraging existing knowledge and code to extend capabilities.
Cordova and PhoneGap
are not attractive to many, which is why Smart Pascal has arguably
stumbled. It's not ideal to be relying on 3rd party solutions to get us the end goal of creating a mobile app versus more directly using Pascal and Lazarus to achieve that goal. Other solutions in various programing languages/IDEs (Lua, Flutter, C#, B4X, Delphi, etc...) are providing solutions with
their language and IDE to get on mobile platforms.
...create an LCL widgetset based on a browser interface. Where the Pascal app connects to a javascript client in the browser via websockets and gets notified about events over this channel and can instruct the javascript to update the browser...
Arguably, the JavaScript/HTML/CSS/browser route is best suited for web developers heavily involved and invested in that world. And, there is an avenue for creating HTML5 applications already, which is Pas2JS or Smart Pascal. That there is more that can be done with Pas2JS, I very much agree. Not against web technologies, just saying that it's a different perspective for a desktop programming language to specifically make use of it when adding to what they are doing, versus being a web developer of that world where JavaScript is the primary language and are seeking to extend it's reach from browsers to desktop and mobile.
It could be said that a more "Pascal way" would be to target the OS directly for mobile app creation. Keep in mind that this philosophy, and being closer to the metal, can extend to other lesser known OSes, hardware, robotics, etc... It would be more aligned to the already existing ways to create desktop Lazarus applications for Windows, Linux, and macOS. You are then leveraging the existing IDE and know how to create an app for Android and iOS. When the Free Pascal and Lazarus community are bringing newbies and beginners in, it's to
teach them Object Pascal and what they can do with it,
not to undermine or pollute that path with other vastly different languages, contradictory approaches, or force them to rely on 3rd party solutions that has nothing to do with and no connection to Lazarus.