I would recommend you bug spray of the brand “ardap” ( if it is available outside EU / Germany)
It’s not as toxic as raid and other brands but kills the bugs and the ones that survive bring the chemicals back to the breeding grounds it also stops partly or entirely growing.
So yeah…
You need to find why the centipedes are there for them to go.
Centipedes usually hunt stuff in your home.
So you likely got an other issue of crawlys
I would recommend you bug spray of the brand “ardap” ( if it is available outside EU / Germany)
It’s not as toxic as raid and other brands but kills the bugs and the ones that survive bring the chemicals back to the breeding grounds it also stops partly or entirely growing. So yeah…
You need to find why the centipedes are there for them to go.