Hi,
Microsoft once provided the Microsoft Virtual Machine Converter (MVMC) tool that can convert VMs from various formats to Hyper-V. However this tool has already reached the end of support and is no longer available.
You can give a try to some third-party solutions like StarWind V2V Converter which can convert VMs between different formats, including VMware, Hyper-V, and others. The VMs can be first exported to a compatible format then be converted to Hyper-V VHD/VHDX format using StarWind V2V Converter.