If you are worried that your Mandarin Goby won't adapt quickly to whatever food you have to offer then yes. By quarantining a fish you can ensure that it has no competition for food, check it over for parasites, and keep it separate if it suddenly develops a disease.