I have the same configuration as you have, and I confirm it is possible.
I bought the laptop with Windows 10 installed. I created empty space for Ubuntu using Windows 10 and it's partitioning tool.
Then I install Ubuntu. During installation, I chose installer settings that allowed me to define the partitions as I wished. I specifically installed the SWAP partition on HDD and the rest of Ubuntu on empty space on SSD.
So in general, I would recommend to install Windows 10 first as you wish. Then partition with Windows tool to create empty space for Ubuntu. It makes Windows happy with it's own partition, probably less risky than partitioning directly from a third party tool while Windows is shut down. Last, use Ubuntu installer to define your partitions as you wish. Installer will show clearly Windows partitions, the different drives, the empty space on each drive.
But before doing anything, backup your data!!