Yes, when importing contacts, you can also import the company the contact is related to. Therefore, the file you want to import has to contain a column called 'Company'. You can also import information about the company and Teamleader will not only link the company and the contact but it will also create a new company in the CRM.

You can find more information on CRM imports here.