Bone orientation for Control rig/Ik

My bone orientation is the wrong way around (on the left), is there a way to fix the orientation in engine? (perhaps in blender if needed)