That’s not the point. The issue is that loaning/investing to a client so they can buy from you conflates your investments with your revenue.
It may be fine, or not. It it has been a frequent type of manipulation to obfuscate the real accounting situation.