Yaw allignment for vision based navigation

Is there a way to allign the yaw from VIO with compass when external Nav is used as yaw source. There is no GPS.
Thanks for your response