From what I have read there are products off the shelf that do just that but I feel it might be asking for trouble to dose both at the same rate from a pump as they can require slightly different amounts to keep the tank stable. I was reading an article the other day about the amount of magnesium and strontium in coral skeletal tissue and that the amount used can as much as double if the saturation of the particular element is present. This replaces the calcium carbonate to a minute extent but was interesting never the less..