Mixing the corresponding hydroxides with the acids is an acceptable form of producing salts such as the ascorbates. One must be careful to mix equimol amounts so not to overshoot either ingredient. If you use too much alkali (hydroxide) you'll end up with a very high pH product that may harm you. It is best if you buy the sfuff in any health food store.