Existing semi-automatic training scripts such as Kohya SS and OneTrainer use parameters that are within a certain range of acceptability from the start.
So it would probably be faster to search for know-how on how to create LoRA for similar use cases and borrow the detailed parameters.
I think that Optuna and other tools are more like frameworks for finding parameters when fine-tuning models fully manually.