Yes, legally, a local dive guide or instructor is required to accompany or supervise recreationally scuba diving in Indonesia. Clearly stipulated in the Peraturan Menteri (Minister Regulation) no. 7 2016, appendix SOP. Solo diving is not allowed.
I can tell you, if something wrong happen to...