Yes, but don't forget to move these joints. Combine some movement in your warm-ups. Another method I really like, especially before running, is to rub major muscles like the quads or the hamstring. High friction will generate some heat, part of it will be absorbed in your muscles. A great addition to your warm up.