Yes, it has to be!
On passenger trains, as well as the control valve in the c ab of the loco, in the guard's van there was a "setter" which if lifted, opened the train pipe to atmosphere, so destroying the balance in vacuum between the two sides of the atmosphere, so that the brake was applied.
If you look at pictures of preserved locos, (most used the vacuum brake, only a few used the Westinghouse compressed air brake ) you will see that on the front buffer beam, the swan neck flexible vacuum pipe is fixed to a blanking fitting.
The far end of the train pipe is sealed by the setter. The vacuum is supplied by a steam powered ejector, or a cross head driven pump on the GWR.
But that is full scale practice. On model locos, the decision has to be between using the vacuum to hold the brake off and apply it with a spring when the vacuum is destroyed. This is much like the spring brake system now used on commercial vehicles. If the compressed air supply fails, the spring applies the brake.
On older vehicles fitted with the triple vacuum servo servo system, the front brakes were applied directly by the vacuum being admitted to the brake chambers, while the rear brakes were applied by the driver's pressure on the brake pedal, aided by a vacuum servo cylinder, operating on rods to the rear brakes.
HTH
Howard