Yes! Substitutions occur when play is stopped (and the closk is stopped) and the player must check in at the scorer's table and wait to be allowed in. The horn will sound informing the ref of the substitution and the players will be waved in. It would be a technical foul to enter the court while the clock is running.