Trailer Plug Wiring 12 Volt Line?

When I picked up the new Cargo Craft, the tech checked to see if the inside light worked, which it did, he stated the trailer plug, had the 12 volt wire connected from the truck. The light switch in the trailer had two wires, one to the light and one coming from the trailer wiring. I plan on running the inside lights from the batteries in the trailer.
The question: The 12 volt wire from the truck through the trailer plug, which did power the inside light, can that wire be connected to the batteries in the trailer and thus charge to trailer batteries when the truck motor is running?
Thanks
Johnnie
The question: The 12 volt wire from the truck through the trailer plug, which did power the inside light, can that wire be connected to the batteries in the trailer and thus charge to trailer batteries when the truck motor is running?
Thanks
Johnnie