Personally, I would be leery of doing it this way, because of possible disparate impact issues. I guess I would document in the loan policy that it was being done for a legitimate business reason (profitability, probably).
However, there is no problem with having two separate programs with different margins. A great many banks do this.