Your implication holds only for special values of $\,a,b\pmod{\!n},\,$ namely those satisfying $\,ab\equiv a.\,$ Indeed, assuming $\,b\,$ is invertible $\!\bmod n\,$ (so your $\,y/b \equiv yb^{-1}$ uniquely exists), then we have
Theorem $\,\ \ (a\equiv bx+y \,\Rightarrow\, a \equiv x+y/b) \iff ab\equiv a\,\ \pmod{\!n}$
Proof $\ \ (\Rightarrow)\ \ \ 0\equiv a\! -\! a\equiv (b\!-\!1)(x+y/b)\equiv (b\!-\!1)a\,\Rightarrow\, ab\equiv a$
$(\Leftarrow)\ \ \ ab\equiv a\,\Rightarrow a\equiv ab^{-1}\,$ so $\,\ b^{-1}\,(a\equiv bx+y)\ \Rightarrow\ a\equiv x+y/b$
Remark $\ ab\equiv a\pmod{n}\,$ has nontrivial solutions $\,a\not\equiv0,\,b\not\equiv 1$ precisely when $\,n\,$ is composite, and these solutions correspond to nontrivial factorizations of $\,n.\,$ Indeed by unique prime factorization $\,ab\equiv a\pmod{n}\iff n\mid (a\!-\!1)b\iff n = cd,\ c\mid a\!-\!1,\ d\mid b.\,$