Surely. Many recording software, like OBS Studio and Bandicam, let you capture both your webcam and your screen at the same time.