Are you talking about a dc-dc converter using a resonant topology like LLC? Or an inverter with an AC output used for something like induction heating?
Either way, the same point applies:
One of the main goals of a power supply is to regulate the output with a varying input voltage.
You could regulate the input voltage and still use the resonant inverter, presumably to generate AC or to provide power across an isolation barrier. You are entirely correct in your understanding that it could be done.
However, this would require an additional power converter to adjust the input voltage. From a complexity and cost standpoint this is worse than just using the inherent frequency/amplitude characteristics of the resonant inverter.