Yes, but if you're sitting at anchor, and need to run the anchor lights, cabin lights, and such, you probably wouldn't want to use your starting battery, as then you might not be able to start the engine...
if you had two 12V batteries as a house bank, and killed the second one after the first was taken off line, you'd still have a starting bank to get the engine started with.
I have two banks, one is a starting bank and is never to be used for house loads if at all possible, and I can hand start the auxiliary on my boat in a pinch, which isn't necessarily the case with most diesels.