So I have a Pi 4 and an official touchscreen and I'm building a portable device to run retropie. I got a heatsink/fan combo which is about as tall as the USBs on the pi and I've ordered a Pi Juice HAT to power it but I don't think I'll be able to put the juice on top of the fan so I was looking at 40 pin GPIO ribbon cables so that I could have the pi and the juice side by side (which would work better in the case that I am having 3d printed).
Is this possible/advisable? I have looked around and it seems to be a good solution for other HATs but I am not sure if it will be good for a power source, also I am unsure if I need male to male, male to female, or a female to female cable.