I don’t know if Kodular allows this, but in AppInventor it is possible without any weird workarounds:
I just tried but for this Fast-CLI Premium required to add custom .aar, if i’m not wrong.
To do this, you will need an extension for installing .apk files, because this is not possible in Kodular itself.