Now I really have NO idea about ROM porting. But I was thinking since the Moto X has a similar chipset to the Snapdragon S4 which the Nexus 4 has, and the Nexus 4 has a working Android L port, and from there, I was wondering, how hard would it be to port the Nexus 4 Android L port to the Moto X?
http://xdaforums.com/nexus-4/development/lpv-79-mako-port-beta-t2807446
https://drive.google.com/a/shcs.sa.edu.au/folderview?id=0BxktHhMrAobWTmowZ1pweHVZNTQ&usp=sharing#
http://xdaforums.com/nexus-4/development/lpv-79-mako-port-beta-t2807446
https://drive.google.com/a/shcs.sa.edu.au/folderview?id=0BxktHhMrAobWTmowZ1pweHVZNTQ&usp=sharing#