The head of Australia's military has pushed back on suggestions the country would not have the capability to send a navy ship to the Middle East.