2 speed motors are rarely dual voltage.

You can run a 380V motor from a 240Vout VFD, but you lose torque above 27Hz (IIRC! -Inverter Supermarket have a blog article explaining it) as the motor enters into constant power, rather than constant torque due to the restricted voltage.

However, 'boost' VFDs are not that expensive or rare now. I've personally used a few CNCWeiken boost VFDs - https://www.aliexpress.com/store/gro...000324416.html
But others have used Ecogoo.