Very interesting. I would love to see a video where someone does it from start to finish.
I would also like to make my own battery for the bike. I made a cheap DIY spot-welder from a microwave transformer and spot-welded my first 12V 20 Ah battery last week for a 3d printed robot lawn-mower project.
You can often find faulty drill packs and harvest the good cells from those and cobble together a pack. Charging it safely isn't easy but can be done. There are battery management systems you can integrate. It's difficult to put inside the seat tube but putting it in a custom container on the down tube works well and that's a great place to put the added weight.