Moto G4 Play Churning Through Batteries
There are very good chances that the internals of the phone are damaged as i have seen in some cases and you cant know the extent of damage without showing it to a repair expert

Coming to DIY 
If batteries of both device are physically same than you might try replacing with each other 

Tempting with a working E4 would mean chances of damaging a properly working phone which should overall cost you more compared to getting your g4 properly repaired at a repair shop 

But, if you are experienced in such tasks you might go ahead and try it yourself but still consider you may end up having 2 damaged phones 

And needless to say have backups of both just in case of damage