Implementing a watch-officer in a form of pre-scripted sequences of orders for various actions, like getting under way, turning to given course, tacking, wearing, heaving to, shortening sail due to weather change could be a very large step towards implementing an independent AI.
As would happen in reality, certain things can be done by the watch officer automatically, and certain can be prompted to the player for confirmation.