Can I make something using webassembly and unit 3D a game that will only run in browser?
You can make game for any platform and with any tool. But we recommend that you use Unity 3D and Try to make a web version for easier access. You can make other builds too.