Not only you can but you *should* if you care about your privacy. That way only your node knows which UTXOs you are interested in.
Sparrow makes it super easy. Set up a node in an old computer, I usually recommend Start9, RoninDojo or MyNode as easier than going purely Bitcoin Core, but if you DYOR you can go that route too.