Yes, the iPhone XR can theoretically get 5G. However, it is not clear if Apple will actually make the phone available with 5G.