Yes, you can camp on the beach in Esperance, Western Australia. There are several beach camping options in the area, including the following popular spots:
Keep in mind that camping fees and park entry fees may apply, and it's always a good idea to check for any local regulations or seasonal closures before heading out.