No, you cannot use a Wi-Fi connection to install Windows 10. You must use a wired network connection or a bootable USB drive or DVD.