How to have apple iBooks or Kindle synced between devices? There are books that I cannot obtain in the bookstore or amazon prime. For those books I'd like to be able to access them wherever I am (from all my devices, even if I get a new mac book). I also wish to be able to save all the notes in them and have that accessible. I assume one would new to sync in the cloud.
Is this possible?
I see the pdfs are in my computer's readers but I cannot have them sync between devices like, say, mendeley or evernote would.
kindle isn't important. What is important is that my pdfs are available everywhere. Ideally backup with annotations. That doesn't seem to work on either. Thats the crux of my question. Which app is mostly irrelevant.
Note that I strongly prefer to have have it work on 1) kindle or 2)iBooks in that order if possible but if it works on either that would be fantastic.

related:

Syncing non-Amazon purchased eBooks between Kindle, iPad, and iPhone
Put all you PDF in iCloud and they will sync everywhere.
Kindle doesn't play with iCloud or AppleID or iBooks in iOS 14 or earlier - nor on Mac.
Your best bet is to have kindle sync the content you got from them only and have Apple sync the content you choose to purchase and store in Books and iCloud. (Like PDF libraries and such)
There’s no technical reason Amazon doesn’t use Apple API. It’s just platform, business, privacy, control issues from what I can tell as a developer with access to the API and design docs on Apple side. As a consumer, I am steering more an more of my purchases away from Amazon since their walled garden doesn’t work for me as well as Apple’s walled garden. I love O’Reilly subscription as well so I’m mostly content to let Amazon be Amazon and use a physical kindle when I can’t get what I need elsewhere. I rarely use the kindle apps on Mac since they just make me sad and frustrated, tbh. I don’t blame them (Apple or Amazon), I just use the paper white kindle for what it’s great at and the iPad for what it’s great at.
All my PDF are in iCloud now and those I need a proper reader, I open in books or another third party app if I need to mark them up or organize them more rigorously than iBooks allows. Most I read out of the files app in practice. I never could get Kindle to work with my stuff. Perhaps someone else with years of trying has a better approach. Maybe I can learn a better way like you are asking.