Yes and No. As far as function is
concerned, the alternator can be connected to the battery terminal on the starter solenoid. This will work fine. To shut the car off, the ignition system should be switched to stop the car.
If this is a race car, the wire or cable should be run all the way to the battery side of the disconnect switch. This means that the alternator and the battery would be on one side of the switch, and the circuits would be on the other side. In the event of an emergency, the disconnect switch could be
turned off and the engine would stop. If a one wire alternator is on the circuit side of the switch and the disconnect is turned off, the motor may not stop because current is flowing from the laternator and the other circuits. Usually the tech inspection teams at most racing events will check for this as normal procedure.
Because this is such a long run in most cars (12 ft or so), be sure to use a properly sized cable for the alternators output, typically no less than 4 AWG wire.