You are mostly correct, there are a few substances in flavored drinks that can make you need more water (sodium) or reduce your body's ability to use the water in the soda but the effect of those is pretty small, and mostly you can stay hydrated on flavored drinks. The other stuff in them (sugar) will mess you up though.