I had a DG with dwarf spotted danios and peppered cory cats in a 20gallon tank.
I didn't see any issues, but after a couple of months the DG died. After that, the cories seemed a lot more playful. I think the DG might have been bullying them, but can't really be sure.