The Batteries "Outgas" (Give Off Hydrogen...'Member the Hindenburg?)
(We,the U.S., wouldn't sell the Reich Helium Gas; which was considered a war materiel)
So,with Batteries,there's always the danger of an UNTENDED Explosion/Fire.
Plus, the Over Voltage/Over Amperage,that many Non-Smart chargers exhibit tends to
FRY the Mucho Expensivo Electronic/Computer type Components in Modern Automobiles.
(Heaven Forfend, MB having to replace Electronics UNDER WARRANTY,'Cause you're
charging the Battery with PRC/Uro Quality chargers.)
To answer your question...
Millions of people do so all the time.
AND with MB offering It's own "Branded" Smart Charger...
Call 1(800) 222 0100 and ask Customer Service the proper way to connect one
to your chassis's Battery.
[Me,I'd have a Battery Disconnect Switch on the Negative Side Between the
Battery's Negative Terminal and the Negative Cable,for use when Charging.Then the only thing capable of receiving charging would be the Battery.]