In that case you would indeed be deliberately misleading your hearer. Given that you know the gender of the surgeon, and indeed this information is key to your riddle, you would be expected to use a specifically matching pronoun (if any - in practice, of course, the riddle is carefully phrased so as to avoid using a pronoun for the surgeon).
That's not comparable to referring to an unknown person of unspecified gender, where the long-established English convention is to use "he" as a non-gender-specific singular pronoun.
You can't both say that "he" is a gender neutral pronoun for a generic person, and that I'm affirming a specific gender for said person with "he". Those are directly contradictory.
It doesn't work to pick just one specific definition, and then interpret the word according to that definition in every context. Human language is rarely that rigid.
In theory, sure.
But imagine I told that riddle where the solution is "the surgeon is the boy's mother". But I kept referring to the surgeon by the "gender neutral" pronoun "he".
You wouldn't feel like you had been misled? You wouldn't feel I had committed to a gender?
I'm not a fan of being super-PC about pronouns, myself. But you have to admit, they do trick you into certain assumptions about the referent that can lead you astray (unless you practice Herculean levels of epistemic hygiene).
I'd rather err on the number than accidentally rule out a gender.