It's not necessarily wrong but it is odd. We usually say, as you noted, "pulled him out of". Here the image is of building that has collapsed and people are trapped inside. (So, pulling someone out from within.)
Your sentence means something entirely different. It gives the image of building collapse where someone is on top of the collapsed building. (So, pulling someone off from on top.) I really have trouble thinking of how this could happen, so your sentence is less than logical to me, although it remains grammatically correct.
What grammatical point is this supposed to be an example of?