Please see the following guide for macOS ADE (note: this is for corporate devices):
Corporate macOS Automated Device Enrollment (ADE) to MEM/Intune
https://hmaslowski.com/home/f/corporate-macos-automated-device-enrollment-ade-to-memintune
Here is also documentation on ADE from Microsoft:
Deployment guide: Enroll macOS devices in Microsoft Intune
If you are looking for some pseudo way to create users by joining macOS to Azure AD (like Windows), this is not possible as described in https://learn.microsoft.com/en-us/answers/questions/574200/macos-and-azure-ad.html
----------------------------------
If this is helpful please accept answer.