Besides opening your own company does a role exist where you can do both?
Being the engineering contractor to SA organization is daunting to a programmer, but rather rewarding.
(When I worked for a long-ago hardware company, system engineers (SEs) were pretty much the equivalent of SAs where I am currently.