RawTherapee has a feature to hide bad pixels called bad pixels.
“RawTherapee can correct a list of bad pixels (pixels that are always black or white or stuck at one color) for your particular camera model. To do this, you need to write a text file with the absolute raw coordinates of these pixels: each line specifies a pixel with xy positions.”
https://rawpedia.rawtherapee.com/Dark_Frame#Bad_Pixels
Now, why would you want to do that if you already have a hot pixel filter?
Every or every second week I read about photographers getting their sensors damaged by lasers. A sensor change may cost more than the camera is worth. Thanks to the bad pixel feature in RawTherapee, and I suppose also in ART, you can still use the camera or rescue the already taken raw files Re: Pink line on all R6 images - Canon Community
I wonder if something similar can be done in darktable to take out thousands of pixels with the help of a list?