I've thought about moving from law to software more than a few times. I like being a lawyer but software is an unscratched itch. I've noticed that many people who leave law eventually come back. What made you return?
I also wanted to move away from working for corporations to working for/with people instead.
If you have an itch, I say go for it unless you're on a track you absolutely don't want off of ever.