In essence both are a matter of displacing your circadian rhythm. Bright light provides a forcing of the inbuilt clock.
Humans naturally have a clock that runs closer to 23 hours, and a bright enough light at blue wavelengths followed by dark triggers the reset.
Jet lag is countered with getting out in the sunlight and also by observing the sunset, which provides the key trigger for sleep. You can push the period long to push it back into sync, but it won’t go short.
Shift workers can try the same tricks. But a lifetime of switching shifts is really rough. No sooner are they aligned with one time regime than they get rostered onto a different one. At least putting the order of shifts so that their internal clock is running forwards makes the impost easier, but the other direction is still a common thing.
Shift workers circadian rhythms do slide to align with the shifts. Even if it is dark outside, working under artificial light wide awake is enough. It isn’t the shift that is the problem, it is the change in shift. That is pretty much identical to jet lag.