How's that different to e.g. Optuna?
Back in the day before autograd optimizers became a commodity, I used Nelder-Mead and the likes heavily. To this day, I still use gradient-free methods for cases where the first derivative is discontinuous (but I suspect that e.g. Pytorch has some black-magic for those cases).