Train ML model via Test flight beta app and retrieve model for integration in release version?

The release version of my app will Not collect user data. I wanted to know if I can ask for users permission to collect trained ml models based on beta users data on test flight after presenting them the necessary documentations like privacy policy.

I also don’t want the user to be able to use the beta app if they don’t agree to it.

are these two things possible?

Thanks