Hello thrada, yes, you can. There are several outputs from the ColorCamera node - raw, isp, video, still, preview. For example, you can set the preview size of the colorCamera with camRgb.setPreviewSize(300,300) or video size with camRgb.setVideoSize(1000, 750). You can choose the size that you need, you just have to make sure it's not higher than the sensor resolution (so for 1080P you can go up to 1920x1080, for higher sizes you would have to change sensor resolution to 4k).
Thanks, Erik