Turn "ins" to "outs" and back again?

Maybe completely dumb - I hope not, because I’d find this useful:
Is there a way to turn “ins” to “outs”?

Hey, the ports are hardwired as input and output ports, so their direction can’t be changed.

Got it
That’s understandable yet sad.
Thanks