Boot Camp Assistant stuck on creating partition due to EFI formatted as NTFS

You can try entering the following command in a macOS Terminal application window. This command should format the EFI system partition as FAT32.

sudo newfs_msdos -F 32 -v EFI /dev/rdisk0s1

If the command fails, you could try entering the command while booted to macOS Recovery over the Internet.