Prince now has support for sidenotes, much like we have supported footnotes for years. Sidenotes can be used for textual content, but placing figures and other content on the side of the main flow is also commonly seen. This guide has a bunch of examples on how to use sidenotes:
https://www.princexml.com/howcome/2022/guides/sidenotes/
https://www.princexml.com/howcome/2022/guides/sidenotes/