It was vaguely implied several times throughout the series that the ships computer, or at least the holodecks, were more alive than anyone knew/acknowledged. Lots of strange stuff happened in there. I always assumed it had something to do with the modifications made by the Binars.
Well Bones didn’t appear in the pilot or first episode of TOS, so I dont think well get more than a cameo if he shows up at all.