Mathematically, it would not be difficult to perform the same sort of calculation to a refinance.
But then it would be transparently obvious that it really WAS interest that was being charged rather than a transaction fee.