Trapping, corralling and spectral bonding of optical resonances through optically induced potentials