And while it is true that porting your old motorola would be a waste of time from a strictly economical standpoint, it would still be a valuable learning experience. And people waste their time on the internet all the time lol.
I would only say that rather than porting lineageOS to your motorola foan, you would be better employed porting postmarketOS to your phone. It is a much nicer operating system to work with.
PostmarketOS also has a handy list of the good phones. These are the best phones for modding because they are the best known, the best supported, and in a couple cases were specifically designed for modding. For a more gentle introduction to phone hacking you might be better off installing postmarketOS on one of these to start.