Invoking any namespaced page with {{#widget:}} will run the page's contents as a widget, even if the page is not in Widget ns
The {{#widget:}} tag can invoke non-widget pages (aside from mainspace pages) by simply invoking the full page name with the widget tag e.g. {{#widget:Template:Page name}}, which can allow any user to run style and script tags on any page.
Example provided by Dragalia Lost admins: https://dragalialost.gamepedia.com/Test2 https://dragalialost.gamepedia.com/Template:Test2/css