Yes, a company can be profitable and still have a cash flow problem. Factors like customers' delay in making payments, high cost of operation, debt repayments, or seasonal fluctuations can lead to a situation where a company generates profits but faces challenges in managing its day-to-day cash flow.