Shipping from - automatically chose the nearest location

Good morning,

When a dropshipping supplier offers different shipping location variants and you don’t want them to appear on your website, so you delete the variants. Is there a way to set “shipping from the nearest location” depending on the shipping address provided by the client?

On Oberlo I put “track stock from Spain” are my products all going to be shipped from Spain?

Thank you for your answers.

Lara