You should be fine if you get off at DC, since they change conductors there and a new crew will be “starting fresh” checking tickets. They won’t even notice you’re gone.
For Alexandria, I don’t know how that would work, but I can’t see how they can charge you extra on the train for getting off...