We have always fed our ducks twice a day; once around dusk, in the coop, and again in the morning. We put out about 2x the feed in the morning, w some in the run, and some in the coop.
We also have water available in the coop 24/7, and the pool out in the run during the day.
We shut everyone in overnight, our ducks and turkeys all have secure coops. The turkeys get access to their yards about daybreak (when I have to leave for work), and the ducks stay in until about 9. My research showed that ducks tend to lay (generally) most actively starting at dawn.
When we used to let them out earlier, we had many more issues w eggs laid by the pool and in other areas around the run. Now that we keep them in a bit later,
-most- of the eggs are in their nesting boxes in the coop.
Yes, they make a mess w their water at night. But. We use shavings in the coop, straw for the nest boxes, and the “floor” is paving stones to keep anything from digging under and in. It’s a super quick clean up / toss new bedding job, but it is a daily clean up job...
I have other duck-y friends who don’t put their ducks away at night, just leave them in a covered run. I have had issues w raccoons and personally don’t prefer to do that.
I’ve also got friends that don’t give their ducks food or water overnight and think it works great.... maybe it’s me. I wouldn’t like to have to go a night without being able to have a sip of water. And our ducks put themselves in the coop and wait for dinner if we get tied up out late.
Long and short of it, you probably don’t feel like you’ve got a solid answer because everyone has a different answer

Your feathered friends will absolutely adjust to what works best for you. They also won’t know anything other than what you elect to do for them.
If you are noticing weight issues, dry stools, or any other problems (should you decide to no give them food/ water overnight), you can always revise your plan!