In general - yes. For the last few months, I didn't hear about any incidents regarding markets. Of course, you should be always aware and take care of your belongings but the Ubud area is usually safer than more tourist areas like Kuta or Seminyak.