Absolutely. In many cases, there are often a wide range of related/adjacent jobs that are significantly different in various ways but can nonetheless be a fairly natural transition. (Though key word can. I've seen examples that worked and examples that didn't.)
On the other hand, I'll go back to school and get a Masters degree in this very tangentially related STEM field is probably going to be a lot harder.