Currently ArcGIS Online
doesn't support directly uploading .gpx files from "Add Item" in order to create a Feature Service. Currently you have to convert your .gpx to a .csv and then import it.
Please add support for uploading .gpx files into ArcGIS Online.