Yep, that was my thinking. Would need some right-angle pins and maybe a 3D printed plastic block to have the pins go through with a couple of square nuts on either side to mount the hex nuts.
Maybe the right-angle pins would be enough on their own. The plastic may only be needed to mount the nuts on each end.
