The KDE (with variable bandwidth) is defined as $$\hat f(x) = n^{-1}\sum_{i=1}^nh_x^{-1}K\big(h_x^{-1}(x - X_i)\big).$$ Once the density is estimated, one could sample points as follows: pick a poin from the observed sample $X_1, X_2, \dots, X_n$ and then sample from the known density $K$ (c.f simple sampling method for a Kernel Density Estimator)
In the special case where $K$ is assumed to be the uniform density and $h_x$ is chosen as the distance to $x$'s $k$th nearest neighbor, i.e. $h_x = |x - r_k|$, where $r_k$ is the $k$th sample point, ordered by distance to $x$.
Can I proceed in the same way as before, that is, pick a random point from the sample and sample from a uniform distribution?