O & O27 track can be put together
but
the O27 will have to be shimmed to match the O track height.
Someone pointed out in an earlier post that the pins are of different diameter,
so that has to be dealt with.
I have old track, so mixing & adjusting connections are part of the Zen of toy trains.
Happy Rails!
Dave