you can setup additional domain by adding entry of your additional domain in the additional_hostnames inside the .ddev/config.yaml file.
Magento provides Magento\Store\Api\WebsiteRepositoryInterface:getList() to fetch all store lists and store-related information.