Replacing streaming with local files - Any way to retain play count and hours?

Unfortunately no. There are several open feature requests for adding the ability to copy Roon‘s user metadata (also credit edits and other stuff) between album versions

Some that I can find: