What if ghosts existed in the movie itself, though since it's not proven to exist irl, the animators don't draw ghosts? So with that said, what if, due to his camera eyes, Baymax could see ghosts? He did say 'Tadashi' and 'Tadashi' when he wasn't there, without showing proof he was really there. Just a theory- I might be being dumb. Interesting idea, though not proven in the show or series.
- Just a Theory / Headcanon- NOT CANON! -