I would like to ask if possible I could make it 3 company and link all accounts?
Your question does not match your subject. If you want to track separate branches of the same company, you can do that using tracking codes and inventory locations. If you want to consolidate the accounting records of three different companies, you cannot do that.
You could read this topic : Need help with consolidation and intercompany transfers