And just to be clear, there is some potential problem with showing up with an investor buyer and handling a short sale negotiation for a seller (especially if licensing is screwed up).
But its not illegal.
Its just double-ending.
I don’t do it but lots of agents do and have done so throughout history.
Its the bank’s responsibility to make sure they are not getting screwed.
But good luck getting them to be as diligent as they should.