I know there is a possibility you'll get a different ability when you breed a male pokemon with a ditto. I'm just unsure if that includes hidden abilities or if it's limited to normal abilities.
I checked the wiki but there was only a little blurb about hidden abilities passing down at the same rate as normal abilities.