Let $E_i$ be a matrix of zeros except the entry $(i,i)$ which is equal to one.
Then, the map $X\mapsto X-E_iXE_j$ does exactly what you want. We can prove that there are no such matrices $A,B$ such that $AXB=X-E_iXE_j$ holds. We have that
$$AXB=Y$$ if and only if $(B^T\otimes A)\mathrm{vec}(X)=\mathrm{vec}(Y)$ where $\mathrm{vec}(\cdot)$ is the vectorization operator and $\otimes$ denotes the Kronecker product.
We would like $\mathrm{vec}(Y)=S\mathrm{vec}(X)$ where $S$ is a diagonal matrix of ones on the diagonal except for one entry, which is equal to 0. This entry corresponds to that entry in $X$ that we would like to set to zero while the others remain unchanged.
Therefore, we need to have that
$$((B^T\otimes A)-S)\mathrm{vec}(X)=0.$$
Since this expression must be true for all $X$, then the above equality holds if and only if
$$(B^T\otimes A)-S=0.$$
Expanding the above expression yields
$$\begin{bmatrix}b_{11}A & b_{21}A & \ldots & b_{n1}A\\
\vdots\\
b_{1n}A & b_{2n}A & \ldots & b_{nn}A
\end{bmatrix}-S=0$$
Since $S$ is a diagonal matrix we must have $b_{ij}=0$ for all $i\ne j$. Moreover, all but one blocks are identity blocks in $S$ by construction. Assume that the last block has one zero diagonal entry while the others entries are equal to one, and that the other blocks are identity blocks.
Then, we must have that $b_{ii}A=I$ for all $i=1,\ldots,n-1$. This implies that $A$ must be diagonal with nonzero entries. However, this contradicts the fact that $b_{nn}A$ must have one zero entry on the diagonal.
Therefore, there is no such matrices $A$ and $B$.
Note, however, that some restrictions of the problem may lead to the existence of such matrices. One restriction is to consider a subclass of matrices and an obvious one is the class of diagonal matrices $X$. Another restriction would be to consider one specific entry to be set to zero and not look for the existence of $A$ and $B$ so that any entry can be set to zero.
We can restrict the set of matrices as follows by assuming that $\mathrm{vec}(X)=Mz$ for some full column rank $M$ and vector $z$.
In that case, the problem becomes
$$((B^T\otimes A)-S)M=0.$$
In other words, $M$ should span a subspace of the null-space of $(B^T\otimes A)-S$.