Have you got a way to put wires on the connectors? You got to do 4 of them and they have to be stable and not come off while the bike is bouncing around on the pavement. These batteries are space inefficient with that tower sticking up. I've seen guys make holes in a bopard and stick the towers in the holes.
Finally the AH won't add up like you thought. The total AH rating for a composite 36V battery made out 4 of these batteries will be 10AH if the individual pack is 5AH. In addition, they might not put out the current you need without shutting down.
It's not a good solution.
I've played around with the bigger Ryobi 40V lawn tool batteries. Like this one from my weedwhacker.
Although it says 40v, it's really a 36V battery in the ebike world. Home Depot charges $130 USD for the 5Ah, 180 watt-hr version that I have. Then you have to get the charger, and make a clip to get the wires onto the battery. I did all of that and made a secure setup. First few tests, the wires would pop off.
I found this battery will power my 36V 250- 500W motors well in pedal assist mode, but blipping the throttle would cause the controllers to want 10-20A, which would shut off the battery. Then it would rest in a minute. So that meant it worked best for my littlest 250W motor with a tiny controller. I could get almost 20 miles out of it with pedal assist at 14 mph.
So this is not a good solution either, but I already had the battery/charger. It does say that the smaller drill batteries won't handle your power surges at all. This battery is used for lawn mowers and chain saws.
Oh, I'm taking it as a spare on a 37 mile ride tomorrow. My regular battery should cover 25 miles, and if I am too tired to finish with leg power alone, I can swap this one in.