Long answer: No, that's not possible at all. It will be one of the two you bred. It will always be the first in the evolutionary chain of the female Pokemon, unless you're breeding a male with a Ditto, in which case it will be the Pokemon that isn't Ditto.
The Pokemon you're breeding must also be in the same egg group, otherwise you will not get an egg from them.
Ditto can breed with any Pokemon except with itself and Pokemon from the undiscovered egg group.
Genderless Pokémon can breed only with Ditto. Pokémon in the Undiscovered egg group cannot breed whatsoever, and Ditto cannot breed with itself.