Can I use Time Machine to restore to a smaller disk

Yes.

The system is built to accommodate this if possible.

The restore process does a fairly good check before starting to restore to ensure the space is free enough to land the data stored on your specific snapshot in Time Machine.

Time Machine (and Disk Utility restores) work well as long as the "cargo" fits with maybe just a little extra room for overhead. Generally, less space is wasted at the end of files on smaller drives, so the thousands of small preference files pack more tightly on smaller drives.