Of course, unless it’s later synology when they tried to push their own drives, they are like small pc eating whatever.
Now if you do raids/zfs, they are more fussy about mismatched sizes (you will get lower of the two size likely as a result).
If you don’t care about speed of raid/zfs, you can mirror folders manually i believe with rsync or whatever