Is it possible for hyperkalemia and hypernatremia occur at the same time?

Possibly yes. Dehydration is the most common cause for both. Also certain medication may play this role. Your physician would have to look the whole picture on why this person developed both.