If the three wires from the stator (I think they are yellow) are getting hot at the connector, then, yes, you can remove the connector and directly splice the wire ends. Others have don this. You don't even have to keep track of which is which, as they are all the same. Of course, it makes it harder if the stator actually needs replacing, but that's up to you.
But first, you should test the stator with the engine running - got a Voltmeter that reads ACV? If so, disconnect that connector and connect the meter between any two of the three contacts, stator side, start the engine, using a battery from a car, if handy. You should measure over 60VAC from one wire to the other two, and between the other two, since it is a 3-phase stator, and all phases are equal. While you have the connector open, engine stopped, set your meter to Ohms, and measure between each, and to the engine case. You should get something near 0 Ohms between the wires, and near infinity to the case.