In one of the episodes of Grand Tour, Jeremy, Richard and James drive beach buggies on the beach of Namibia. At the end of the show, they thanked the government of Namibia for allowing them to shoot their program in this area. Is it possible for us as well to rent an SUV there and drive it alongside the coast of Namibia? Do we need a special permit of any sort or military protection? This is a picture of the coast from a drone:
There are no restrictions, according to the official Namibia Tourism, and exploring by car is encouraged as the best way to see the country. It offers detailed route maps available in multiple formats (online, pdf, high res e-mag). You do not need a permit to drive on the sections of beaches where it is allowed and posted; in some areas there are dedicated paths you must use. To rent a vehicle, you would need your national driving license, along with an International Driving Permit (IDP) (translated to English if your home country license is not).