For books only available through Amazon my workflow used to be buying it, downloading it with their desktop app, importing into Calibre, converting to epub and stripping DRM, then pushing it onto my Kobo. They broke that a while ago by making their DRM even worse, so now I just pirate those books.
I haven't done that in a while though, so I'm not sure if they closed that loophole.