You can train adult or senior dogs for a crate as well. You can prepare them for various reasons like house training, travel, or to simply allow them to chill out in a place all on their own.
If they have not been adequately socialized, they might take longer time compared to a little puppy to adjust into new experiences. You will have to practice being patient and handle it slowly.