This has been done for ages in the audio production space, it's called "convolution reverb". It's quite nice, but it doesn't allow you to tune it very much, besides basic filtering and stretching/cutting.
[1]: https://developer.mozilla.org/en-US/docs/Web/API/ConvolverNo...