It's called native applications and has been around since before the days of web app wrappers. Just stop using Electron and you're halfway there already.
Only point is to get access to native APIs and a distribution channel. Tauri is far better than Electron if you want to ship a web front-end as either desktop/mobile.