True, but those experiments are inevitably restricted to the aspects of consciousness available for indirect observation and comparison.
There is no way to distinguish between an unconscious machine mimicking the functional aspects of consciousness we are able to indirectly observe and compare to our own experience and something having the same experience.
We could easily (and I think almost definitely are given the current pure symbolic manipulation track) be doing the same thing as a jungle cargo cult constructing an air strip out of sticks. Studying that won’t tell us how planes work.
Obviously advanced AI is more sophisticated than that and may have more legitimate parallels to consciousness, but I think it’s fundamentally impossible to know what’s a core part of the conscious experience and what just looks superficially similar to the output of conscious beings.
The current generation of AI are clearly not at all conscious and are “just” (don’t want to diminish the work) very good parrots generating image and text output from a given input in a way a whole bunch of conscious humans already have. But we’re already getting cargo cults and people who are anthropomorphizing and considering them comparable to humans.
There’s a danger in studying artificial models of an underlying phenomenon to learn about the phenomenon. That method of study is inherently very limited and extremely difficult to keep calibrated to the underlying phenomenon.