Big warning hear. It will probably work, but you're risking introducing disease and molds to the root system, and the water may be low in dissolved O2. Along with Ph issues, salt and residuals posing a possible threat.
So, will it work? Yes. Is it ideal? No.