Theoretically speaking, if we can put all the data regarding chemical reactions (known to us) into a database and allow the user to input not only the chemicals, but also the other parameters such as amount (moles) of reactants, temperature, pressure(for gasses) etc.. and then use a hashing algorithm to checks the user input against that database, we can predict the result of a chemical reaction. However, such a database will be unnecessarily large and useless.