I've considered doing this but have elected not to. My reasoning is that a battery being charged (or battery tended) should be done in a well ventilated area. The battery box in our aircraft does have ventilation tubes but I believe they are designed to provide ventilation when the aircraft is in motion being operated. I have a new Bogert battery box with new vent tubes and a sealed AGM Concorde battery but still - I think it's best only to charge when the battery is in the open, not sealed in the battery box - other's will disagree.
I will also note that I've heard that some Comanches are wired such that the external power port (GPU plug) is always hot regardless of the master battery switch position. Mine is like yours - when the master switch is on a relay connects the GPU port to the battery.
If it's helpful to you check out this thread here on the forums ->
viewtopic.php?f=94&t=7747&hilit=battery+chargerIn that thread you will find I posted the instructions / comments of Dr. Mike Schloss who is also an A&P / IA. Mike provided instructions for doing it in what he claims is an FAA legal way. Again I choose not to do this for the reasons stated. I pass this on in case it's helpful to you.
- Charles