Even if you can can deliver enough energy for long enough, there is no fuel to burn and it might not be easy to detonate or disable the warhead.
For ICBMs, one idea was to use orbital, nuclear powered lasers to hit the missile on the boost phase.
But that's very much not near-future.
Lasers might still be useful for rockets, drones and cruise missiles of course.