Not for newbies. But, if you have some experience with Android AOSP and porting, yeah, probably not too much difficult. A5 "should" be possible, as it already have CM12 if iam not wrong.