The game is designed for any army to fight any army. It might be more flavorful or lore-friends to have Space Marines versus Orks, but the game encourages any game. Heck, a lot of tournaments used to feature one army very heavily due to the meta of the day, so there'd be mirror matches all the time.