Adding Experience Builder custom widgets in ArcGIS Enterprise is now supported in ArcGIS Enterprise 11.0 and up. The blog highlights a good level of detail on how to compile a custom widget, register it as an item in the portal, and use it in the app. A special thank to Robert Sheitlint for his Enhanced Locate widget used in the blog as an example.
Cheers,