the hard part is your periodic 1Mhz requirement, as this generally means the control loop needs to have a response a fair bit faster than that to keep up, if its a sine or triangle, it stands a chance, but square would be very difficult to not ring longer than the waveform,
Might i ask what resistance vs frequency pattern / curve you need to match? if its a log curve you can likely just use a RLC circuit to match it.