Yes, you can connect your iPhone with 5G wi-fi. To do so, go to the main menu of your iPhone and click on the wi-fi tab to change the cellular wireless settings. Now search for the wi-fi network setting window tab and change it to the primary option. Now just press apply.