As explained in detail at this post, an N-point DFT is functionally a bank of $N$ unity gain coefficient filters ("moving average" filters), each centered on $f_s/N$ where $f_s$ is the sampling rate, and each filter having the response of the Dirichlet Kernel (which approaches a Sinc function as $N$ approaches infinity).
With that, the DFT alone does provide some anti-alias rejection as a channelizing decimator. I will first show the simplest form as given by the OP to demonstrate the anti-aliasing that is provided, and then I will show how the performance can be extended through the use of polyphase filter structures combined with the DFT for high performance channelizer applications.
For this I will use the following test waveform in the decimate by 10 application where we are interested waveforms having a 1 kHz of two-sided bandwidth. This waveform is sampled at 20 kHz, such that once decimated, the output rate will be 2 kHz. The frequency bin centers for the 10 point DFT used will also be at 2 kHz spacing. The test waveform contains complex tones at 20 Hz (20 Hz offset from bin 0), 4080 Hz (80 Hz offset from bin 2), 6530 Hz (530 Hz offset from bin 3) and 8200 Hz (200 Hz offset from bin 4). For this I will show the combined anti-aliasing and down-conversion that can be achieved simply with the DFT such that we convert each tone separately to 20 Hz, 80 Hz, 530 Hz and 200 Hz. Later I will show how we can improve that with the addition of polyphase filtering.
Note that I purposely placed one of the tones just outside our 1 KHz bandwidth of interest.
The plot on the left shows the test waveform as well as a red bracket in the center indicating the primary frequency band of interest as 1 KHz centered on DC, as well as red brackets in all the frequency bands that would alias to the primary frequency band in the decimation process (for decimate by 10). Importantly, what we also see in the right plot is what would result if we down-sampled the test waveform by 10 (simply selecting every 10th waveform and discarding the rest), without any prior filtering, showing what "maximum aliasing" looks like: all tones with no rejection have been frequency translated in the down-sampling process consistent with the alias zones mentioned previously. This will be compared to later plots to demonstrate the amount of aliasing rejection that has been achieved.
As introduced, the anti-aliasing that the DFT provides is given by the Dirichlet Kernel:
$$D(\omega) = \frac{\sin(N\omega/2)}{N\sin(\omega/2)}$$
and $\omega$ is the normalized radian frequency in units of radians/sample : $\omega \in [0, 2\pi)$ for $N \in [0, N)$
For this example, with $N=10$ we get the following frequency response which quantifies specifically the anti-aliasing that can be achieved in this case:
With that, I simulated the OP's DFT implementation with this test waveform showing the resulting channel selection for the four bins where the tone were placed in proximity. I also overlaid the expected anti-alias rejection from the "moving average filter" provided by the DFT which is consistent with the rejection achieved in the result. We also note that the strongest interference has occurred for a tone that was outside our "bandwidth of interest"; this tone which mapped to 530 Hz will not have landed on our actual waveform (given it is out of band), AND we have further opportunity downstream to provide further filtering more efficiently at the lower sampling rate after decimation. Our bigger concern is with aliasing that has landed within our 1 KHz bandwidth of interest, as it can't be filtered out without removing our signal as well (assuming our signal occupies the full 1KHz bandwidth), and we see for this case we have achieved > 20 dB rejection. We also see from the response curve provided earlier that our worst case aliasing will be 12 dB for an adjacent channel with signal at its closer band edge.
Also observe the noise floor which I included included in the test signal to demonstrate: for the decimated outputs the noise floor is nearly the same level as the input test waveform. Compare this to the noise floor for the first plot above showing downsampling with no anti-alias filter, which is elevated. This demonstrates what would occur even if we didn't have strong signals in the alias frequency bands and why anti-aliasing is important regardless.
Such aliasing rejection would be more than sufficient when the required SNR for a given application is satisfied, such as many of the power efficient communications waveforms: BPSK, QPSK, GMSK, APSK, etc suggesting that a DFT could be directly used as a decimating channelizer for a multiband transmission from a single source (this is also the case for OFDM where it is extended to bandwidth efficient waveforms such as higher order QAM for reasons of orthogonality that is not directly related to what is described here). There are also of course plenty of cases where this poor aliasing rejection would be far from adequate, and the important take-away from this is being able to predict what the degradation would be and how this could be used.
As for improving the performance, we can combine polyphase filtering with the DFT to both expand the frequency coverage for each band (as a percent of Nyquist), and the rejection of all aliasing within that band. I've implemented a 10 x 30 Polyphase Channelizer, consisting of 10 FIR Filters each with 30 taps, all running at the decimated rate, as a front-end to the 10 point DFT introduced earlier. This implementation appears as follows:
The prototype filter is designed as a 300 tap FIR with the frequency response given in the left plot below. The coefficients are loaded into the filter banks row to column such that each filter is the decimated coefficients of the prototype design. As a channelizer it provides the selectivity indicated on the right, providing 85% bandwidth of Nyquist with over 60 dB alias rejection at band-edge (and much more throughout the band).
The resulting performance with the test waveform is given below.
The polyphase channelizer is often implemented with the Inverse DFT. The processing can be changed from DFT to IDFT by conjugating the outputs or changing the order in which polyphase outputs are loaded into the DFT or IDFT processing.