I don't think there's anything available to do that out of the box. You'd have to write some custom code.
If you want to import users, there is importUsersX.
But it seems to have some issues, which need to be fixed
https://forums.modx.com/thread/?thread=85866&page=1