Not fully - the scripts involved automatically unload and load passengers at a station. However, using the Terminate Passenger Train command will prevent passengers getting on the train, but will make passengers that are on the train get off the train.
Shane