@a_grebenyuk @konstantin I don't know about vast numbers of them, but why not put them in the sidebar as a favorite to quickly reopen them?
Or use Keyboard Maestro script to open (or close) a bunch of Finder windows of specific locations, tied to a hotkey?