there is some room in the head tube for wiring, not much though. There is a reasonable amount of room in the bb for wiring. Unfortunately, the heat of welding probably precludes building the batteries in on initial construction of the frame.
Aluminum is not going to allow for post-insertion welding because it will be weaker without heat treating. I assume your cells will not take the heat of the heat treatment, and it's not economic.