It makes no sense. Not ambiguous, but basically meaningless.
.
I would like to have been born a boy. <-- Maybe
I would like to have a son. <-- maybe
.
If you beliveve in reincarnation, then, maybe, then it sort of makes sense as "I would like to be reborn a boy."