I installed LineageOS on my Motorola and the data connection stops working... restored back to factory rom and it starts working again
So I guess if you really want to use it as a wifi-only device, sure
or daily drive 2 phones with one of them on the factory rom to use as a hotspot for the other one running Lineage