I am (slowly) putting together an eBIAB setup and have been pondering this piece of the build, as well.
Have you considered using an NPT male to compression fitting? NPT through a hole in the lid with a cam lock for your external connection. On the inside custom bend tubes for either...