I am having trouble finding information on the BK-117M. I cannot figure out what its specifications are (were?) and how it differs from the BK-117 or EC-145. Furthermore I don’t think EADS is making the BK-117M anymore, but please correct me if I am wrong. But I do see your point that if the EC-145 and BK-117M are relatively the same platform, then yes; the UH-72A can be armed.
The only data that I could find on the BK-117M is as follows:
BK 117M: military version of A-1 proposed by MBB in 1985, and flying since 1988; fitted with taller skids, a Lucas turret mounted under the fuselage houses a Browning 12.7mm automatic machine-gun and 450 rounds of ammunition, controlled by a helmet-mouted sight; outrigger pylons can carry up to eight HOT II or TOW antitank missiles, air-to-air missiles, rocket-pods, or forward-firing cannons; a doorway gunners position with a 12.7mm gun can also be installed, or 11 troops can be carried
(http://avia.russian.ee/helicopters_eng/mbb-117.php)