Yep, you just set up the XLR interface as the Mic channel device in OBS. Nothing else changes. I do the same with a Behringer mixing desk with a built-in USB interface.
And yes, XLR > USB all-in-one. Quality, upgradability, and overall price all lean in XLR's favor. The USB AIOs offer simplicity for newbies, but that's about it... they are at the peak of a very short hill, with no upgrade path beyond starting over.
Do be aware that OBS doesn't play well with ASIO; opt for non-ASIO drivers for your interface, if available (many will work with the default Windows audio device drivers).