Optical analogue of Rabi oscillations in optical waveguides via structured continuum