That is not a bad way to arrange power into the boat's 120Vac breaker panel. If you later buy a little Honda generator
it can use the same idea of an extension cord and an adapter.
I sometimes like the idea of physically connecting your power via cables
and plugs as opposed to switches that can be turned the wrong way.