Yes, a knight can jump over a queen and any other piece in its path, including its own pieces.