That is what happens when you self-fund, you make a loan to the campaign. Nothing Illegal about it, check the FEC rules.
How about Hillary when she loaned her campaign about $25 Million in 2008?
I never said it was illegal - I just pointed out that he expects to raise the money to repay himself later, and he is accepting donations now - so he is not truly "self-funding".