I think it works.
And for listener, you can create a listener called listenername_NEW in Server B, and once everything is really for the cut-over, you can rename the listener name of alwayson from server A to listenername _old and then rename listenername_NEW to listenername.
Here is a similar thread which might help.
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.