Trace possible voltage drop starting at the circuit breaker. If you are lucky, it is a bad connection that is accessible at the breaker or buss bar. You may find that the circuit that runs your engine room lights is soon sandwiched between the engine room ceiling and the cabin floor with the wires fastened such that it can't be pulled (with a chaser string) to allow you to fish another pair of wires back in. Also, the lights would have parallel connectors sandwiched in and replacing the wire is likely impossible. There, your only fix is to use wires running across the ER ceiling using conduit.
I had low voltage (3.5V) on my port V berth bulkhead light. All other lights in the forward cabin circuit had full voltage. It had to be a bad connector behind that light, but I found out that the light circuit had been built into the bulkhead prior to it being fiberglassed on both sides. In fact, where the fixture electrical leads exited the bulkhead, there was polyester resin encasing the wires. No way to pull, splice, etc. I had to run exterior conduit. I found a spot where the wiring daylighted (in a cupboard in the head), spliced in, and ran that back through the V berth bulkhead. Since I was running surface conduit, I ran it for two light (his/hers) on the bulkhead.
Here is the conduit prior to a finishing "T" connector above the light. This conduit sticks fine to gel coat. It would have to be mechanically fastened to ER insulation.