Did Abraham realize he was hosting God?

No, he treated them as wayfaring strangers and showed Middle Eastern hospitality.

Watch the Teaching: Why Was the Death of Jesus Different From Any Other?