@StrawHatM23 yes, you need to use sharepoint rest API to connect to AEM forms during the submission via a custom servlet. Doable easily.
https://learn.microsoft.com/en-us/sharepoint/dev/sp-add-ins/complete-basic-operations-using-sharepoint-rest-endpoints