Some people successfully house chickens and ducks together but some will never get along and live happily together. You must be prepared for the possibility that they may need to be kept separate at all times.
I don’t house mine together, but they coexist, mostly peacefully. My ducks don’t like my Marans though.

I think it’s because the Marans are bigger than they are. They don’t mind the bantam breeds though.