Adventure-seeking women have turned up in all sorts of situations. Many of them were nuns! Two of my daughters have joined the military (Coast Guard, Marines), but back in the (18th, 19th century) day, that wasn’t an option.
Religious life was an option, and Deborah Sampson’s life was an option.
From another website, 2016...
“...the story of Deborah Samson Gannett, who fought in the American Revolution.
“Private Robert Shurtleff,” as she was known to the Army, was honorably discharged in 1783.
She returned to Massachusetts, married a farmer, raised four children and published her memoirs.
For nearly 30 years, she petitioned the government for back pay and benefits she believed she had earned from her military service.”
https://www.nps.gov/feha/learn/news/gannett.htm
Eowyn daughter of Eomund, a.k.a. Dernhelm, in The Return of the King.