Yes, in a typical train made up of a number of multiple units, or in some MU classes where first is ‘in the middle’, you can walk through first to get to another set of standard accommodation. IIRC byelaw 19 only says you must not ‘remain’ in first, not that you cannot pass through.