Yes you can! Bone-in will provide more meaty flavor, but boneless will still work just fine. As long as the meat is cut into individual parts (individual chicken breasts, thighs, etc), you can keep the cooking time the same.