I have a Bunkhouse camper. The folks there used to offer electric brakes on the Bunkhouse, but apparently no longer recommend, and in fact, recommend against it. They'll sell them, but only if you insist.
As I understood the reasoning, most if not all of the steering on a motorcycle is done by the front wheel/tire. The rear just follows the front and prevents stuff from dragging on the ground. When you apply the brakes on a motorcycle, about 75 to 80% of the braking (hence the large transfer of weight to the front tire) is done by the front tire/brakes. If you are pulling a trailer and apply the brakes, you get brakes on two wheels pulling a large amount of weight rearward, and unweighting the front tire, which can adversely affect the braking and/or steering action of the motorcycle. This could (but not necessarily) result in a crash, injury, death, etc., etc.
Anyway, this was how it was explained to me and served to discourage me from putting brakes on my camper trailer. At least it made sense to me. Hope this helps answer your question and doesn't muddy the waters.