If I was looking at a hire who only gives a year I'm thinking that's a big investment to get them up to speed on our tech, train them, and start getting them projects only to know they're going to bounce. Not to mention provisioning tech and tools for them. I think experience and a company willing to hire you becomes the issue if you do this too often.
Stem jobs aren't a spot where you want to be losing your talent every year, it's hard to push forward with that. I see companies avoiding those hires honestly.
Also, how do you advance and make more, if that's what you want, without working somewhere long enough to grow. Self education helps, but practical experience is needed.
If I were them, just be a freelancer. It gives you the freedom and you're your own boss.