Something like this maybe? 8 Position Header Connector
Yes, thank you, the right keyword to find these on Ali was "right angle", I was typing in things like "bent" and "90 degrees". And nothing came up.
That's a very interesting idea Psi, it does leave a gap between the connected PCBs, but that's definitely very creative!
On a tangentially related question, what's the right keyword for a solid-core ribbon cable (the usual ribbon cables are 1.27mm pitch multistrand ones, the ones with IDC connectors), but these are usually with slightly bigger pitch seems like 1.8mm and hard solid core?
I've seen these used as soldered through hole connections to connect PCB/buses for some consumer electronics products (stranded ones are too brittle and hard to work with for this purpose)