I wouldn't see why not - I have all my ducks, chickens and guineas in the same house/pen with no issues at all. They may try to breed with eachother, so if that's a concern you may want to keep them separate.
You can keep them together and if properly paired they won't interbreed. from what i have heard, though i haven't figured it out myself, its genetically impossible for the two to cross.