Not a simple question with no simple answer.
Here are some pointers to think this issue through.
Let's tart with Lead Acid batteries. The biggest Problem for chargers is to determine the State Of Charge (SOC) of the battery because the battery's amount of chargong current it can receive depends on its SOC. The only way for a charger to estimate SOC is by calculating it from the actual battery voltage and the current it is supplying. But if there are two or more chargers, the chargers will calculate a wrong SOC.
That is not the only issue. When advanced chargers start charging, they take an as-found voltage reading, apply the maximum charge for a few minutes, wait a few minutes for the battery voltage to come to rest, take a
second voltage reading, and with that data they estimate the starting SOC and the energy capacity (amp-hours) of the charging battery. Based on these readings, and charging power of the charger, the charger estimates the time period to charge at the "bulk charging rate". Too long a period and the battery will gas out hydrogen. Too short a period and the battery will not be charged enough to start the absorption charging phase which uses a much lower chargong current.
Unfortunately, the misleading voltage readings read by chargers charging simultaneously have another complication. That is, the acceptable bulk charging rate is proportional to the number of batteries in the bank. For example, a group 28 battery can bulk charge safely at up to 40 amps and absorption-charge at 3 amps. But a six-battery bank then can bulk charge at 240 amps absorption charge at 18 amps. There is no problem if the charging source is small compared to the bank's capacity. But when parallel charging that msy not be the case.
Most newer chargers have bulk charge limiters to prevent excessive gassing. The limiter is activated when for a given current charge rate the battery voltage indicates the SOC is high enough to reduce the current to the absorption rate. The net result is that the battery bank may not charge any faster by paralleling several chargers.
Lithium ion batteries is a totally different can of worm. They can be charged at high rates but overcharge them a minuscule amount and the battery is destroyed. It burns because unlike the LA battery which can dissipate the excess energy by gassing hydrogen, the lithium ion battery collects the excess energy in the form of heat until it catches fire.
In addition, the SOC of a li battery is difficult to determine from its voltage because it remains fairly constant throughout its different levels of the SOC. This
is such a serious problem that many li battery chargers estimate the SOC by charged time. This type of battery-charger configuration requires that there be a battery monitor to continuously measure energy delivered and energy received by the battery and it may not be possible to simultaneously charge while providing power.
As you can see, just because couple of time someone ran the generator to power the shore power charger in parallel with the alternators of the engine without perceptible LA battery damage, it does not mean the arrangement is acceptable. The life of the battery bank may be shortened by damaging a bit its weakest battery.
In li batteries, usually the battery management system of each battery controls charging on a per battery basis. So there is never parallel charging going on at all. In such a situation multiple sources of charging in a charglng bus to the lithium ion battery bank should work fine.
IMHO, the best course of action is to consult with a qualified marine electrical technician or an electrical engineer with competence in marine power systems the battery charger configuration you intend to use.
Enjoy the journey.