If a pokemon has access to a dream world ability in dream world that is what it gets and that can not be worked around.
Though some pokemon such as gastly dont get a dream world ability and keep levitate but get a special move instead like gunk shot.
So you can only gte dream world abilities if it has access to one, you cant get the origional one.
Source: Personal experience