Basically the plant will feed through water, so it can easily grow "epiphytical".
It can not attach to smooth surfaces, though. I have had cuba Hem. grow, twisted inbetween very branched wood (ex. Azalea aka 'bonzai') and it wilingly attach to rough rock (ex. Lava). Adrie Baumann (Aquascaping symphony) have used these technique often.