They could, using Wasm, like Qt, Blazor Hybrid, Uno Platform, Avalonia.FuncUI. Electron is efficient for devs, but inefficient for users, being a memory hog, especially on low end devices.
I seriously doubt the approach of running a native desktop application in the browser would give you performance or usability as good as running an actual web app.