EFX, there's less USCG rules about plug-in connections with an outboard. But, you still have the charger in an area that could possibly see gas fumes. A plug-in connection is a loose connection and could possibly arc/spark. If there are gas fumes present, you know what comes next. Best practice is to use a plug-in connection up on deck somwhere or hardwire that connection. The setup you have also can allow moisture to get inside the plug - especially since it's vertical. Also, because it's vertical and doesn't appear to have the charger side very secure... what's stopping the two plugs from starting to come apart due to vibration? There's another case where sparking can happen.
Side note... it looks like you purposefully alilgned those double hose clamps to make them look "pretty"

Best practice is to orient the worm gears 180* to each other for better clamping/sealing.