How to go from formula feeding to EBF?

Is this even possible? I also have low milk supply so if I try doing that, won’t the baby starve?