Raid1 + SSD Cache possible?

I have the following configuration: 1x 500GB NVMe and 1x 1TB NVMe. I would like to configure 500GB in RAID 1. I would like to use the remaining 500GB from the larger SSD as an SSD cache for my HDDs.

Is that possible?