True, but based upon so many other things scientists have 'deduced' through modeling, mathematics, and limited sensory data, I wouldn't be at all surprised, that in future, we discover that the cores of celestial objects are entirely different from what has been theorized.
It’s certainly possible.
I just used the atom as an example of what they got right via calculation without the benefit of direct observation. There are still real scientists out there, ones that resist the buyout/co-opt by governments.