For our Portal projects we developed some custom widgets with WAB.
Can we deploy them to AGOL to use in AGOL WAB?
The answer is no.
Here is a blog from Derek Law that answers this exact question:
Clarifying 3 questions about Web AppBuilder for ArcGIS | ArcGIS Blog
Retrieving data ...