Yes. Using an online bookmaker for Caulfield Cup betting is completely legal and is regulated by the gambling authority in Australia.