Right
海 supplies the sound — hǎi drifted to hāi with a tone shift. Pure phonetic loan; 'sea' contributes nothing —
嗨 is just the noise.
海 itself is
氵 (water) +
每, 'water everywhere.' Choosing
海 over simpler alternatives gives the modern 'hi' coinage extra graphic weight.