It's actually a great idea in priciple, but the money, knowledge, and supplies needed don't make it a viable option for laypeople. I would think that one would need a decent spectrographic setup, which would be tens of thousands of dollars, easy, among other technical measurement apparati. This kind of setup would pretty much be limited to university laboratories and well-funded R&D departments.