Yes. A USB mic becomes the recording interface to your computer. It replaces any other inbuilt microphone or recording system and gives you a good, clean recorded sound. While many are designed for speech there are plenty, as listed here, that will operate brilliantly over the dynamic range of the singing voice.
When compared to studio microphones than we generally find that USB mics are aimed at the lower end of the market and can give great results but you will find better quality in the studio microphone market.