Yes, you can. That is, however, not recommended as the sea spray can be quite corrosive to motor windings. It is also important to keep your drone away from waves or water in general as drones are not waterproof.