Yes, It’s 100% fine
A lot of what you may hear with people doing the water diet (I know you’re not asking about water diet but I’ll get relevant in a sec) getting sick is because they aren’t doing it right.
With distilled water, it can clean out your body. Cleansing it. Things that can throw it off and be bad is drinking a bunch all at once, for too long, etc. Going back to the water diet, that’s a thing that people do for 14 days where they only drink distilled water and spring water and don’t eat, in order to totally cleanse their body.. they gradually drink more and more. But, after doing the diet, they stop for a good year, year and a half. They do this process of drinking gradually plus stopping for the following reasons(and to answer your question):
Drinking it suddenly, all at once without a gradual build-up shocks your system
It can mess with pH which is why you’d also drink spring water
It can cause vitamin/mineral plus other deficiencies
It does cleanse your system so you do need to give it time to replenish a bit
here’s a link talking more about the benefits and drawbacks