With a bit of luck, you might also be able to angle in from some other position. I originally worked in customer support, found opportunities for automation, built a couple small tools on my own time, convinced management I was more efficient automating than doing support directly, and that snowballed. No engineering degree or prior portfolio to speak of. But I was also quite lucky and the company (and support department in particular) is constantly strapped for engineering talent.