It can certainly be done, you'll just need to shrink your partition size down first in disk management or using a partition program. Otherwise it'll give you issues as the partition boundary will extend beyond the end of the disk.
Now if you're going to an SSD, there are other factors to consider such as the 4K sector alignment. In a case like that you'd want to actually use an SSD migration tool such as Paragon SSD migration tool.