I don’t see why not. I just copy stuff over manually right before I update to the newest HA version an every so often in between when I make a significant number of changes.
But just to re-emphasize - make you get the entire contents of that folder, hidden stuff and all.