Yes, but you need a different visa. You can apply for a Visit Visa (B211A) or a Tourist Single Entry Visitor Visa C1, which allows stays of up to 180 days. These must be arranged before travel through the online visa (evisa.imigrasi.go.id), or at the Indonesian consulate.