Your Dolby Atmos sources would have to connect to the soundbar first. The output of the soundbar would go to the TV.
I wouldn't worry about it much, A soundbar doesn't create the same effect as a real object based surround system with ceiling speakers.
FYI the new version of eARC does support lossless codecs and Atmos through the TV.