Video: That's exactly what this Tesla driver in the US did when he spotted a car behind him coming up very quickly.
A few caveats, sure. Make sure the road ahead of you is clear -- this Model S driver had slowed to a stop to make a left turn, which is why the apparently distracted Toyota Prius driver came up at a rate of knots. Make sure your car can actually accelerate fast enough to get away -- the P85D in the video clocks 3.4 seconds 0-100km/h. And watch what the car behind you does -- the Prius concerned jumped on the brakes once it realised what was going on.
And yes, Teslas don't use gas. I get it.