I mean of course it depends on the team. the biggest problem that arises with it though is that scolipede just wont often get the chance to be both a spiker and sweeper in a single game. Its not very bulky and it burns a lot of turns laying spikes along with the initial SD. Lots of common walls like lando, garch, ferro, skarm, etc. will already be pressuring you immensely if you try to lay down spikes at all before killing them; on top of the fact that theyre easy switch ins to support scolipede in the first place. With a rocks weakness and life orb he really cant afford to be coming in and out if he wants to sweep because he takes a solid 50% from anything that sponges his attacks. He also runs into problems with common hazard control mons like diancie or excadrill, which he could easily lure and threaten unboosted with a coverage move but is instead forced out. If youre only setting up spikes for your own sweep, then you need to take out more threats using the rest of your team but arent going to reliably have the spikes support which would make them so much more effective at doing so.
Scolipedes not an exceptional hazard setter or sweeper even when fully dedicated to those roles. When mixing them he'll often be far more useful as one or the other in that particular game. Like he'll get some spikes up and dent something to support a teammate or he'll get a free switch on a secret sword or something and use that turn to boost (the turn on which his most important wall will likely be switching into him and not taking spikes damage). Very rarely will he be able to accomplish both since he only really gets free turns against passive teams but his damage output leaves a lot to be desired against those sort of things.
im not really trying to deter you using scolipede for this and im not saying its impossible. its just that hes very difficult to work with. considering the most exceptional fast setup sweepers like charizard typically have to make due with a single boost at most, and the lack of coverage seriously limits your ability to capitalize on the lure this provides, you should probably expect and prepare to be using him in less ideal corcumstances.