Can you crate train a doberman?

Thinking about adopting a doberman but I cant afford to have him pee on the carpet or mess things up in the house while I'm not home. Is it typical to leave a large dog like a doberman in crate every time you leave the house?