This would be much more useful than adding them manually on the site with an imported csv
It looks like there is an api to create a beta tester:
https://developer.apple.com/documentation/appstoreconnectapi/create_a_beta_tester/
and then inviting a beta tester to an app:
https://developer.apple.com/documentation/appstoreconnectapi/send_an_invitation_to_a_beta_tester
Sadly not a lot of documentation or examples but it might help.
A simpler alternative is to enable a public link, however this solution allows beta testers to stay anonymous. Many companies would like at least a first last for addressing the user in emails.