If you mean from an onboard soundcard, then very probably not. At least not as you sugest.
If you get yourself a mic pre-amp, then you can record your vocal on the left channel and your guitar on the right channel of a stereo line input. That would work.
Any program that can do multitrck would be able to do that.