How to back up two internal hard drives using Time Machine?
No, you cannot do this with Time Machine unfortunately.

What you can actually do is backup both internal SSD drives to the same external drives - or backup both internal SSD drives to two different external drives.

However, you cannot setup it up so that SSD #1 only is backed up to external drive #1, and SSD #2 only to external drive #2.