How to recalculate bone roll in action keyframes or in pose mode
If you set the roll good for one pose, it will be messed up for a different pose, so I don't think it's a good approach: better set up the rig in edit mode so that every bone is parallel to the view plane (use "keep offset" instead of "connected"), then lock two rotation axis so that only the one needed is allowed. In this way you will never have planes deformations.