First, we assign a "weight" to each cell
of $\frac{1}{3^d}$, where $d$ is the cell's Manhattan distance from the bottom-left-back corner.
Moving a duck from a cell with distance $k$, and therefore weight $1/3^k$, will result in three cells with distance $k+1$ and weight $1/3^{k+1}$, so the total weight is preserved under moving ducks.
Initially, we have $1$ unit of weight. So, to move all ducks outside the given area, we need to
find a set of cells outside the given area whose weights sum to 1.
For all the cells at any given distance $k$, we have $k+1$ cells in a diagonal line on the bottom layer, $k$ cells on the second layer, and eventually $1$ cell on the $k+1$th layer. So, the number of cells with distance $k$ is $$ 1 + 2 + ... + k + (k+1) = \sum_{i=0}^{k+1} i = \frac{(k+1)(k+2)}{2}$$
And their total weight is $ \frac{(k+1)(k+2)}{2 \cdot 3^k} $, so the total weight of all cells outside the given area is $$ \frac{10}{3^3} + \frac{15}{3^4} + \frac{21}{3^5} + \frac{28}{3^6} + ... = \sum_{i=3}^{\infty} \frac{(i+1)(i+2)}{2 \cdot 3^i}$$
And to move to move the entire weight of $1$ outside the given region, this sum needs to be larger than $1$.
Now, some algebra:
The ratio of two consecutive terms is $ \lim_{i\to\infty} \frac{\frac{(i+1)(i+2)}{2 \cdot 3^i}}{\frac{(i)(i+1)}{2 \cdot 3^(i-1)}} = \lim_{i\to\infty} \frac{i+2}{3i} = \lim_{i\to\infty} \frac{1}{3}+\frac{2}{3i} = \frac{1}{3}$ which is less than $1$ so by the ratio test this sequence converges to some sum $S$. Now, let
$$ S = \sum_{i=3}^{\infty} \frac{(i+1)(i+2)}{2 \cdot 3^i} = 3 \sum_{i=3}^{\infty} \frac{(i+1)(i+2)}{2 \cdot 3^{i+1}} = 3 \sum_{i=4}^{\infty} \frac{i(i+1)}{2 \cdot 3^i} = \\ 3 \sum_{i=4}^{\infty} \frac{(i+2)(i+1) - 2(i+1)}{2 \cdot 3^i} = 3 \left(S - \frac{10}{27} - \sum_{i=4}^{\infty} \frac{i}{3^i} - \sum_{i=4}^{\infty} \frac{1}{3^i}\right) = 3\left(S - \frac{10}{27} - \frac{1}{12} - \frac{1}{54}\right) = 3 S - \frac{17}{12} \implies 2 S = \frac{17}{12} \implies S = \frac{17}{24} < 1 $$
So the weight outside the given area is less than 1 and it's impossible to clear the area of ducks.