Can an app be moved from a builder to custom development?
Yes. First, what already works is described: screens, scenarios, roles, data and integrations. Then the data is exported and checked while platform access remains, the new version is built in parts and users are switched over. The builder's logic is usually recreated from scratch, but the code and the rights to it stay with the client.
More in the app builders vs custom development guide.