You need to realize it to pay back the loan. No free lunch.
This only costs you the interest of the loan and exposes you to the risk of declining value in the assets securing the loan. Appreciation of the assets or dividends may fully offset the interest or more.
Additionally if you a founder, for example, you retain the influence/control of your company that you derive from the stock ownership, while still be able to enjoy their cash value.