Using a specific gpu for sd

Hi guys,

I wanna upgrade my pc for sd. I have a rtx 2070 with 8gb of ram.

I bought it for gaming and it does the job very well.

However its a bit short in vram for sd…

I am thinking of adding a gpu on my motherboard (rtx 3060 12gb)

I know that sd wont used both gpu but can i set sd to use the 3060 and i ll use the 2070 for gaming…

Would it work ?