you’d need submunition to hit mine directly, if you want to use boom for demining, you’re looking for something like MCLIC or UR-77 (this might be a little bit counterproductive in build up areas). unless you mean EOD techs using submunitions as a donor charge, but this makes little sense, as you can use about anything to do this, including random recast AT mines and pieces of busted ERA bricks. repurposing DPICM elements this way would be unnecessarily dangerous operation
conversely, if you use DPICM in combat, you might need to clear that area before your own troops even move in, in some cases. because of large number of these elements some will fail and it might pose risk to advancing force
Ukrainians using DPICM is good, because it shortens time russians will be able to shell civilians, plant minefields and spread UXO