Yes, but you’d be surprised how many candidates either get too nervous or are too shy to do most of these.
Phone interviews are hard to begin with but you also have a lot of flexibility so it’s less stressful, but in-person interviews with real programming on a computer can put many into a really stressed state.