Should I Crate My Dog During The Day While I'm At Work?

Is it ok to crate my dog