Answer:
Yes, but this type of information is considered sensitive information for the purposes of the Privacy Act 1988 (Cth). You may collect this information as a part of your website activities and should disclose this in your Privacy Policy, you should also set out how you will use this information, for example, will you be analysing it to see the demographics of your website, or providing it to third parties.