Can you drive part and bike part?

Some people will drive to work with the bike on a rack and then bike home. The following day they bike back to work and drive home. Perhaps that's an option?