Yes, you can buy a camera in Bali. There are camera sellers in urban areas such as Denpasar, Kuta, and Ubud.