Yes, you can use either WAIC or LOO information criteria to compare between models fitted with different number of terms, like what is done in this GLM example. These criteria are equivalent to AIC if all the involved distributions are gaussian, but are more widely applicable to other probability distributions than AIC.