That charger is the basic idea alright. Now I'm just stating the way I see it from doing some web searching and discussing the project with a well know member from FC here, so I might not be 100% correct but have the general idea. I think?
So FWIW, what you need to consider is the generated heat...