Early computers had
many different word sizes. If you look at the 1955 Ballistic Research Laboratory document,
A survey of domestic electronic digital computing systems, you find lengths from a low of 10 bits to a high of 42 decimal digits. (pp234-235; Text:
http://ed-thelen.org/comp-hist/BRL.html Scan:
https://babel.hathitrust.org/cgi/pt?id=wu.89037555299&view=1... )
The influential machine to look at here, then, would be the IBM 701.
Edit: The IBM 701 patent <https://patents.google.com/patent/US3197624A> says, “A binary number of a full word of 36 bits has a precision equal to that of about a 10 decimal digit number”. It doesn't mention characters, and the machine was designed for scientific (military) calculations, not text/data processing. The associated IBM 716 printer did not use a 6-bit code. However, this does not rule out a 6-bit character code as a design consideration, even if this machine didn't use one, since IBM did have a large business in pre-computer data processing, using punched-card character sets that would fit in no less than 6 bits. So that may have driven the design of shared peripherals like 7-track tape (6 bits plus parity) and led to a multiple-of-6 word size.
Edit 2: The paper, The logical organization of the new IBM scientific calculator <https://doi.org/10.1145/609784.609791> again mentions 10 decimal digits. It also describes card and printer I/O, and it is explicit that these work on binary card images, row by row, not character by character. The machine handles only 72 columns of an 80-column card, reading a row at a time into two 36-bit words. A 40-bit word would have let it use the whole card!