If my OS is on an SSD and I install a virus on a hard drive could my OS become infected?

Craftminer360

Commendable
Jan 4, 2017
1
0
1,510
If I have just my OS on an SSD and I install ransomware on my HDD, could my OS become infected even if it is located on a different drive?