Yes, you can cut the track down to the size you need without having it compromise the integrity of the track. You can use any saw that is designed to cut steel, including a hacksaw or reciprocating saw. Then soften the edges with a circular grinder or metal file. Finish the edges with coarse-grit sandpaper. Most black spray paint can be to touch up the cut end as it won't be noticeable. For a more exact match, bring the cut-off end of the track to a paint store and have them to a color match.