In theory, it's a great idea. In practice, considering the sheer number of manufacturers and products that exist, the number of possible combinations of "hardware setup data" would be seriously, seriously huge. As an example, consider the number of the products and drivers on
LinuxPrinting.org just on its own, which is a site that conceptually seems to be more or less in line with what you've described. Add in something similar for all the other components in a PC and you'll be dealing with a very large database.
I'd expect that if such a database existed, there would be huge interest from the Linux community in using it, however, it would be (I suspect) a monumental task to create such a database. Good luck with it if you decide to pursue it