My Moto X 2014 victara comes to an end with a broken screen 

I have the possibility to buy this model Moto Z (4GB RAM and 32GB) for less than 200 euros.
Is it still a good purchase for this cell phone? my idea would soon be to install lineage 15.1.
Does everything work very well? worth it?
Thanks
I have the possibility to buy this model Moto Z (4GB RAM and 32GB) for less than 200 euros.
Is it still a good purchase for this cell phone? my idea would soon be to install lineage 15.1.
Does everything work very well? worth it?
Thanks