That should work fine, keep in mind that you should change the extrinsic with relation to imu0 as well, and that you may need to change the translation if you're not able to rotate it perfectly in place. VIO will converge internally to the actual rotation/translation values as long as they're close enough, but it can lead to errors if they're not.
A