All evidence is that Hemingway and his wives engaged in gender fluidity and crossdressing "games" with each other.
In fact, Ken Burns speaks about this at length in the trailer to his PBS documentary on Hemingway. Some of Hemingway's own notes, talk directly about switching roles.
[B]
Speaking in the documentary, Hemingway biographer Mary Dearborn elaborates, "He really had a thing about androgyny and liked to switch sex roles in bed. And he tells Mary, 'Let's play around. I'll call you Pete and you call me Catherine.' She's satisfying that intense desire of his to play with sex roles that way. It took a lot of guts for him. In a way he wanted to be a woman who loved another woman. Now this kind of thing, it's all on a spectrum, right? But then it was unheard of."
In "Garden of Eden" Hemingway writes in a semi-biographical way ...."I'm a girl. But now I'm a boy too and I can do anything and anything and anything," she teases or warns. "I'm going to wake up in the night and do something to you that you've never even heard of or imagined." A few pages later our Hemingway avatar David experiences "the strangeness inside" as Catherine penetrates him". Hemingway had his wife Mary cut her hair short and dye it to look "more like a man". Hemingway then dyed his hair to look more feminine.
Seems like we don't need AI. Hemingway laid it all out for us.
For further reading...https://www.salon.com/2021/04/12/hem...arden-of-eden/