If you work remotely outside Thailand and would like to stay for a year in Bangkok without doing border bounces, which probably wouldn’t give you a year anyway, your best option might be to apply for a DTV. (Destination Thailand Visa)
You’ll need to apply outside Thailand and most countries except Indonesia do e-visa now. This means you’ll need to show up in person and apply in Jakarta. I don’t think you can apply in Bali.
*******************************************************************************