Connection to WiFi Dongle

I have Windows 10 Host and a Guest VM running Ubuntu 18.04. Can I set up Ubuntu to connect to the internet with a dongle and leave my wired connection exclusively for Windows 10? I have a WIFI adaptor on my computer if I need it.