That's ridiculously energy-intensive and you'd probably have to re-mineralise it before storage or consumption to be on the safe side. Cooking might actually be the worst issue here, low-mineralisation cooking water would leech minerals out, leading to lower nutrient intake (unless yo keep the cooking water for drinking).