Publishing 3D features in ArcGIS Online

How to publish a 3D features using .gdb or .shp in Arc GIS online without using Arc Map or Arc GIS Pro online services? Can we do it programatically or by any other means without Arc GIS subscription ?