Yes. Press Command + Shift + 5, click “Record Selected Portion,” and drag the crosshairs around the area you want to record.