Submarines and Navy ships have similar dry air.
You see a similar weakening of the immune system in people who obsessively disinfect their homes. Our immune system needs to be exposed to stuff constantly.
This is why I find the idea of humans colonizing the galaxy ridiculous. It won't happen unless we change our bodies substantially. We're just animals. Animals fit to the conditions of earth. (But quite honestly, it'll likely be machine intelligences that inherit the stars instead of us with our biological shortcomings.)
Imagine all the suffering caused by failed attempts, people living their whole life with bad lungs so a privileged few can get a little closer to their space fantasy. I wouldn't want to be born into that experiment
As far as living on other planets goes: there is gravity. What we don't know is how much gravity we need. We could answer this with a space station with spin gravity by trying different rotational velocities and monitoring the health effects.
The Moon has about 1/6 Earth gravity. Is that enough? We don't know. Mars has a little over 1/3.
Long duration space flight probably needs spin gravity too. There are two ways to do it. One is a torus shaped spacecraft. The other is two spacecraft and a tether where once they insert themselves into their cruise transfer orbit they link, extend the tether, and start orbiting each other in a spin configuration. People could go between the ships if necessary by following the tether, though this would probably only be done when strictly necessary due to the risks.
There's a calculator online for spin gravity based on what we currently know about human tolerance for the Coriolis effect:
https://www.artificial-gravity.com/sw/SpinCalc/
It's not too bad. There are various workable sweet spots. Playing around I find one at 20 meter radius and 0.66g (2/3) gravity. It looks like you can't get much smaller than 15 meters diameter without ill effects, but we actually don't know. We need to try this to see what humans can actually adjust to.
The simplest test short of a centrifugal station would be to put two capsules or Starships in orbit and tether them and experiment with different tether lengths and rotational velocities.
Edit: actually there's a third way to do gravity on long duration flights. If you watched/read The Expanse you saw it. Accelerate to the midpoint, flip, decelerate to the destination. Unfortunately that requires insane physicsts' nightmare propulsion systems like the fusion engines in The Expanse that we do not have and won't have for the foreseeable future unless there are some crazy fusion breakthroughs.
The Expanse subreddit has a lot of people doing math on such things.
https://www.reddit.com/r/TheExpanse/comments/128c8rv/update_...
The biggest of these is that IRL those ships would have to have large heatsinks. Even if the drive were phenomenally efficient you're going to have a minimum of hundreds of megawatts of waste heat to radiate into space to avoid melting the ship.
The second one is that the drive itself would be a deadly weapon. Those scenes in The Expanse where they fire up the drive near other ships or near space stations? Nope, not unless you want to fry everyone on board with X-rays. You wouldn't fire up a drive anywhere near anything you didn't want to cook with hard radiation.
This last point is known as Jon's Law in space engineering and sci-fi: any sufficiently powerful space drive is also by definition a weapon of mass destruction.
https://tvtropes.org/pmwiki/pmwiki.php/Main/WeaponizedExhaus...
I guess the answer could be that the sideways motion will drive you crazy due to coriolis forces? See 6 minutes in https://www.youtube.com/watch?v=nxeMoaxUpWk
But they can just substitute windows with monitors that compensate for the view.
Incidentally, the viewscreens on Star Trek etc. always had the ship right side up, so they probably compensated exactly in this way :)
Needless to say, we have no idea yet how that would even be possible :) So, for now, the question is whether we can still do it without such a solution.
So this is another area where bringing down cost of pound to orbit is highly impactful. If that becomes cheap, it becomes feasible to build in orbit crafts (orbital stations, ships, etc) sufficiently large to support human-friendly habitats. Should Starship+Superheavy succeed, it will be a significant step forward in this regard since it can put the interior volume of the ISS in orbit in a single launch, and perhaps in a few decades use of resources mined from asteroids could become a consideration.