Weak starter action, I'm assuming that means the starter is cranking slowly but the bike won't start. It's normal that the headlight cuts out while cranking, but it should come on when the start button is released (with the ignition on)
Yep could be the starter motor, but might also be a weak supply of power, or earth, to the starter motor. Test to see which is the problem.
Run a jumper lead from battery positive to the terminal on the starter, then another lead from battery negative to the starter motor case. This bypasses the bikes wiring. If it now cranks normally, your starter is good. If not, it's a starter problem.
If cranking well in the above test, the problem might be a poor earth supply. Run a jumper lead from battery earth to the starter motor case. If it now cranks well, it's an earth problem.
If no different, check for a weak power supply. Since it's cranking that means the signal circuit is good, including the switches and plugs. So then check power from battery positive to terminal 30 of the starter relay, and 87 of the relay to the starter terminal. Then also check the starter relay itself, and it's connections.