Sure, if you use a high gain beam antenna, you can get a good idea of the bearing something is from you.
Consider a Yagi: a half-wave dipole with a passive element about 5% longer (the reflector) on one side of it, and a series of passive slightly shorter dipoles (the directors) on the other side of it. The longer they are, and the more directors they have, the more directional they are. A typical 3 element Yagi on the 2M band (VHF) will be about half a wavelength wide and half a wavelength long. At a two meter wavelength, this is about three feet long and three feet wide. A pretty reasonable thing to rotate, or even put a handle on and carry around in the bush.
At 400 kHz, the wavelength is around 2450 feet -- nearly half a mile. The halfwave dipole, though, is only half that, so it will only need to be around 1200 feet wide and 1200 feet long. That's still hard to put on a ship.