negative, ditch lights are required anytime railroad orders you to have bright headlights on.
it is not only crossings but roadway worker protection. w
when Auxiliary headlights are not flashing they must be on all time when headlights are required.
https://www.law.cornell.edu/cfr/text/49/229.125" onclick="window.open(this.href);return false;
(f) Auxiliary lights required by paragraph (d) of this section shall be continuously illuminated immediately prior to and during movement of the locomotive, except as provided by railroad operating rules, timetable or special instructions, unless such exception is disapproved by FRA. A railroad may except use of auxiliary lights at a specific public highway-rail grade crossing by designating that exception in the railroad's operating rules, timetable, or a special order. Any exception from use of auxiliary lights at a specific public grade crossing can be disapproved for a stated cause by FRA's Associate Administrator for Safety or any one of FRA's Regional Administrators, after investigation by FRA and opportunity for response from the railroad.