In principle, it seems like it would be nice to account for this as "we are paying you market rate, you are reinvesting some of that in exchange for equity". In practice, even leaving tax consequences out of it, that sounds like it might plausibly run you afoul of something... (though I am by no means confident that it would)