Can AI have their own thoughts

As artificial intelligence evolves, the question arises: can machines possess their own thoughts? While AI can simulate human-like responses, true independent thought remains elusive, rooted in complex emotions and consciousness that machines have yet to grasp.