Just the splitter can be bought and replaced, you’ll have to get it painted.
Side note: check if the front bumper is genuine, some aftermarket ones come with the splitter moulded to the bumper and can’t be replaced on its own. Only mentioning this because if it had been hit and replaced, previous owner(s) may have opted to go cheaper route with aftermarket