Can I sue the other driver for an accident if I was in a company truck?



Yes.  You always have the right to pursue a personal injury claim against the other driver for an auto accident, even if you were in a company vehicle.  But keep in mind that if you also make a worker's compensation claim with your employer, you may have to reimburse the worker's comp insurance company for any amounts they paid out of your settlement with the other driver's insurance company.