Robbie28 wrote:
Is it possible to do just a restore of macOS and not the files?
Yes. If I understand you correctly, you want to erase your Mac completely and then install macOS "High Sierra" which is certainly possible. You would be following the instructions for selling a Mac (which returns it to its initial shipping state), followed by upgrading to High Sierra (assuming it shipped with a macOS version earlier than it).
First: What to do before you sell, give away, or ... - Apple Support
Since you're keeping the Mac all you really need to do is Step 6 (erase).
Then: How to upgrade to macOS High Sierra - Apple Support
I also don't know how to figure out what specific files I'd need to restore, since it's been months since I upgraded.
You would need to peruse your Time Machine backups and determine which files you need to restore. Backups are date-stamped. You can even choose to retain the most recent versions if you're not certain.
It might help if you were to explain your reasons for needing to downgrade, because I'm at a loss to understand why you would perceive that need. Perhaps there is a better solution for whatever it is you require.