Question: do dusk balls work in dens?
Answer: Yes, raids count as being in caves, so they work for Dusk Balls regardless of the time of day. Note however that Dive Balls DON'T get a boost in raids, even if the den was in the water.