We have a bash completion file, which needs to be updated manually: #17282 (comment)
However, given our argparse module and RPCHelpMan, I believe it should be possible to autogenerate it with maybe a python script.
If it should be necessary to run a bitcoind instance as an http server for rpc request to auto-generate the bash completion, this could be implemented as a functional test (written in python).