This idea is to create an auto-incrementing integer field using the AGOL UI. The mechanism would be at the AGOL feature layer level, not at the app level, so it can be used globally.
The OBJECTID field isn't suitable because it can't be used everywhere, such as for copy/pasting features in the Experience Builder editor widget. Further, it's generally considered unwise to rely on OBJECTIDs.
Related AGOL Question: Auto-populate unique ID field in hosted feature layer (common ID between copy/pasted features in ExB)