Feature classes related using attributed relationship classes can be created with ArcGIS Desktop and shared with ArcGIS Online. However, the data stored in relationship class attributes cannot be accessed in a pop-up. It seems like this can be implemented using Arcade.