I imagine some of the roots would grow into the soft parts of the wood that isn't submerged where they would be able to get oxygen from the air along with the oxygen they're receiving from the roots in the water which would probably be enough to survive. I'm not sure of the quality of plant it would produce but I think it could be done.