Yes, you can switch from physics to data science. Transferable skills like analytical thinking and problem-solving, coupled with additional training in data science, facilitate the transition.