Err... not so much. Most drip coffee makers are basically airlift pumps, where the air is from the liquid boiling to steam.
They're nifty little pumps, but they're absolutely not "distilled water" in the sense that you're imagining - It's not steaming up, condensing, and dripping. It's steaming up, pushing a bunch of liquid water up a small tube, and then burping the whole payload onto the coffee, including any and all impurities that are already in the water.
Example video here: https://www.youtube.com/watch?v=xV8vZqHd0ao
They're used lots on budget aquaponics/hydroponics/aeroponics setups because they can push water up surprising heights with nothing but a cheap aquarium air pump, or - in the case of a drip coffee machine - a cheap heating element.
---
All of that said - you're still running that water through ground coffee and then a literal filter. I'd not be surprised in the slightest to find it also removes a lot of things.