Have you ever tried the scissors tool in Sketch? It gets you 90% of what you’re doing here. You just won’t have:
- Multiple colored borders (at least I’ve never tried that)
- Control over the border position. But I always find center to be the most reliable position anyhow.