Yes, they can, with freat success. Many people do this when they raise chicken/duck flocks so they get along better later on.
All you have to watch for is that the chicks and ducklings don't get each other wet- chicks aren't good with water. Just give them a small waterer that hopefully works...