I was wondering if 2 pokemon, compatible with each other, would the baby pokemon be able to have the dream world ability? instead of having to capture it in the dream world?
Yes, it is possible but only if the Baby Pokemon was compatible with said dreamworld ability! For example, I could breed Chlorophyll onto another Bulbasaur, but not a Squirtle despite the fact that they both belong to the Monster egg group.