Yes, that would work. There are a couple of programs that some people find easier to use than Clonezilla, such as Easeus, Macrium and Paragon, but they all get the job done. If you pay very slightly more, you can get a drive with the cloning software supplied. Maybe useful with a new SSD (see below).
The only minor caveat is that if you are cloning to an SSD, then you need cloning software that understands the target is SSD, or some time soon after swapping, run a utility that can fix up the SSD. I mention this since you do state SSD.
With some of the utilities (e.g. Easeus) keep a beady eye on any other junk they offer during the installation process.
Re hidden partitions, do a disk-to-disk or sector-to-sector clone, not a partition-to-partition.
There are a few more bells and whistles which you probably don't need to consider: one computer I upgraded, I cloned as VM, then cloned, then checker the clone and VM were both working, then replaced the clone with the new OS :-)
Also, Windows, you can back up the Windows validation with various tools if you don't want to phone Microsoft to revalidate. If you do phone, there's a semi-trick question that needs a specific answer.