Wahba‘s Problem poses a similar challenge. It‘s used to solve for attitude based on a couple of known measurements. See this vid: https://youtu.be/zJbjYNQwk2M?si=jqy6SfHGPTq3JUoX