Yes, that's literally how LLM's work, they're probabilistic.