Import from where? You can use data management projects and data entities to set up an endpoint in D365FO. Then you can send excel files to that endpoint from any source by using LogicApps, Flow, Recurring integration scheduler, Biztalk or similar.
This is the simplest way and doesn't require any coding.