Yes. It is completely safe to cook chicken and vegetables together as long as you cook the vegetables for the same amount of time as the chicken. Do not remove the veggies from the pan before the chicken is cooked through.