If you inside Intune have several distributions on the office package targeting the same device, I have seen this issue.
In one case, a Microsoft 365 Apps package was created that distributed the typical Office package (Word, Excel, PowerPoint, and Outlook) and another Microsoft 365 Apps package that installed only Visio. When these two distributions were targeted to a device, the office applications were installed/uninstalled all the time. Just like you describe.
Please check your management systems:
- Is the Homebrew agent removed from the endpoints?
- Do you have several distributions of the Microsoft 365 Apps targeting the same device?
- Consider the following distribution method if you are managing Windows devices: https://msendpointmgr.com/2022/10/23/installing-m365-apps-as-win32-app-in-intune/
Please remember to mark it as an accepted answer if you find this answer valuable.