I am not sure whats your end goal and what exactly you mean?
Are you saying 1) Can you use the Xform code found in Survey123 in other native apps?
Or 2) Or Can you just use that code don't add any other code?
But yes you should be able to use the XForm code to create your apps
Nakul