Como obter uma lista programaticamente de todos os clientes cadastrados/registrados no Magento 2
$customerFactory = $this->_objectManager->get('Magento\Customer\Model\CustomerFactory');
$collection = $customerFactory->create()->getCollection()
->addAttributeToSelect("*")
->setOrder('entity_id','DESC')
->load();
foreach( $collection as $one_customer ){
echo $one_customer->getId() . PHP_EOL;
$billingAddressId = $one_customer->getDefaultBilling();
$shippingAddressId = $one_customer->getDefaultShipping();
}