Is it safe to let my 2 year okd have a water bottle in her cot?

Caitlin

My daughter is 26 months. We took her dummies off her last weekend but now she asks for water all the time.

I gave her her supply cup in her cot. It’s a straw cup that doesn’t leak. But I’m anxious that it’s a bad idea for some reason. She has to actively suck to get the water out. I’m just fretting I guess.