Dear Student,
Yes. Domestication of animals began way before the cultivation of crops. Our ancestors were hunter-gatherers and ate food from the plants that were already growing in nature. Cultivation is a relatively new process. Domestication of goats and dogs took place comparatively earlier than the cultivation of crops.
Regards