Yes, you can sue an ambulance if it was the cause of the accident. Like other emergency vehicles, ambulances have no special rights with regard to liability if they are involved in an accident. It will be governed by the same rules that govern road users. Hence you may be entitled to claim for compensation.