Is it safe to solder wires to via on builtin_rx/tx?

It sounds like creative use of the Keypad library could help here or a resistor ladder on a single analogue pin