Zend certified PHP/Magento developer

Is there a way to format a ntfs format drive to apfs on Windows

I own a MacBook that i accidentally erased the macOS partition for and formatted it to ntfs. Bootcamp and Recovery isnt working so im stuck on windows on mac. Is there a way to format the now unallocated space to apfs? if so, how do i do it and how would i be able to reinstall macOS on it (since recovery and bootcamp don’t work)?