There already exists browser based implementations of basic ultrasonic networking on github - https://github.com/borismus/sonicnet.js/tree/master/lib
Assuming decent error checking, the question isn't whether you could do it, it is just how fast would it be.