Custom password/reset service

Yes, absolutely . You can write a script to call the endpoints on two scenarios.