Apple Mail: move message to another account or local folder and delete from the original account
It would only possibly work if the mail accounts were POP accounts and you had your server settings configured to delete messages from the server when read. Most mail accounts now use IMAP which use different behaviors for message storage, both on the server and in the email clients.

You could structure some Rules in Mail to accomplish what you're trying to do.