Unfortunately, browser versions don't always work like PC games.
In principle, Unity allows you to make controllers for FPS that work well in both versions. I've seen it in other people's games. But when I was building my own game with a first-person view, I ran into limitations of mouse movement in the browser. The Windows version worked well, but the browser version worked poorly.
I wish you a successful release of your new game!