Inmates will be offered support when this commonly accepted practice in prisons is banned in one Australian state.