Alternative Payment Gateways for Membership Plugin

Is it possible to extend the plugin to work with another payment gateway like amazon? I am a developer and can write an additional plugin that hooks into Membership if that's possible.