Intune does not provide data on endpoint application usage via API.
You could be able to develop this functionality with custom configuration and scripting (AppLocker + Azure Log Analytics), or using third-party tools. But not with Intune out-of-the-box though