I found two examples:
Deu de cara com a parede
Deu de cara na parede ?
And was wondering if the literal difference is the same as in English i.e. hit your head with the wall v hit your head in the wall
And whether one is more natural to use than the other