Yap
it is okay and no need to exit if it is a family visit visa