EPUB actually is an open format. I believe it can be locked down, but EPUBs are available in an unencrypted non-DRM fashion.
Not sure if you can extract them from an Amazon device. It may be possible.
If your ethical guidelines would allow it, you could also see if this library has an EPUB copy of the book you already own.