Hi Preeti,
Thank you for visiting our blog. The short answer is yes. The more elaborate answer is as follows -
Z-score was developed to predict bankruptcy. As long as the profitable companies borrow money, which they could do for any number of reasons including financing their growth, they would have insolvency risk. Granted though the analysis would be rather boring if the companies have significant retained earnings and very low liabilities.
Warm regards,
Larry