CAN THE RAILING BE CUT TO A SHORTER LENGTH?

Yes, that would be fine.