yup it would. Two reasons, first is the heat generated by the ESC, while it might not mess up your APM2 to the point of failure it sure would cause the ESC to get hot as hell. Those need to be cooled, usually they are put in front of some kind of vent so the aircraft's motion cools it.
the only other thing I could see is that anytime you have a lot of current running through something that conducts current you get a magnetic field generated. My ESC pulls down up to 35A before it would fail and that might be more than enough to interfere with sensitive electronics.
of course, specific applications and shielding can mitigate those problems, but all in all, put your ESC somewhere that it can get cooled.