I don't think it's possible to "switch" permanently from speakers to cans in a professional situation because you're listening critically to how a mix will play on speakers and rarely, if ever, on headphones. It's very rare for an engineer to mix with headphones. When you're tracking in a noise-problematic home studio (irate neighbors) and working with pro engineers and producers, they always check the sound on speakers first before using headphones. Or they use headphones for more isolation if there isn't a conventional studio/control room split available.
Musicians often create effects for headphones consciously, particularly panning effects, which are almost always done for the benefit of the kid at home who's listening with headphones. But the mixing is always done on speakers, and the major switching is from big to little monitors and back.
Part isolating is the kind of critical listening studio types do with headphones -- if we're having to figure out a viola line in a classic string arrangement. And also, if we're trying to isolate an incorrect sound on an old mix (talking, gasping, etc.) or locate a hum, that's sometimes done with headphones as well. I favor the Sony V6 for that purpose and have never seen top-end audiophile cans in any studio, even the most high-end studios. What I do see repeatedly are expensive monitors.