Yes! As long as you cook the chicken long enough to be safe, the potatoes will also be fine even if they've touched raw chicken.