The short answer is yes, but they won't work together very well because they're designed for different scales. For example, an HO gauge railroad will be too small compared to an OO gauge railroad, which means that your HO locomotive will look minuscule when placed next to an OO locomotive on the same track.