Western Australia is bracing for a possible tropical cyclone as residents in parts of eastern New South Wales and Victoria are on alert for severe thunderstorms.