If I understand your question correctly, then yes. Past perfect can be either "past in the past" or "present perfect in the past"
"I punched him"-->She said that she had punched him.
"I have already seen that movie"--> She said that she had already seen that movie