So I’m thinking about upgrading my bike, and the first thing that comes to mind is the battery. Let’s say I find/build a good battery case, grab an appropriately specced prismatic battery, wire it into the bms and secure it in the case. Attach it to the battery mount/plug and pop in a lock if it doesn’t already have one. Is it feasible to build my own ebike battery?

I want it waterproof so I worry I’d need to engineer some kind of cooling system. Aside from that and temperature expansion, am I missing something?