Yes, an online escape room is an excellent idea for remote team building, for the same reasons that the traditional escape rooms are – they force the team of players to work together in order to solve the clues and succesfully escape the game.