Since sony no longer supports these devices for AOSP, it could be tricky but the first step would be to try and build an AOSP6 image for that device. If you can build that successfully and everything works with it, then sailfish should be fairly easy