If you don't do it gradually and follow the right steps, yes, it can be dangerous for your fish. Water temperature fluctuations can make fish more susceptible to illness. Make sure to take the tank’s temperature and pH again after you’ve added in the freshwater.