Can you drive while your licence is being exchanged?
It depends on your allowed period. Once it is over, for a licence from outside the EU/EFTA after 185 days, you may no longer drive, even if your application is already pending. Within your period you may drive on a valid licence. But you handed it in at the municipality, so you cannot show it. The police can check your application with the RDW. According to the RDW a fine is then unlikely but possible. Whether you drive is your choice.
Your allowed period. On a licence from outside the EU/EFTA you may drive for 185 days after you start living in the Netherlands (art. 108(1)(g) of the Dutch Road Traffic Act, WVW 1994). On an EU/EFTA licence for, among others, category B you may drive until 15 years after its date of issue. If those 15 years run out within 2 years of your move, you may drive for 2 years after your move, as long as your licence is valid (art. 108(1)(h) WVW 1994). After that you may not drive without a Dutch licence, even if your application is being processed (RDW).
What the RDW says. You may drive if you have a valid licence. If you are stopped, you must be able to show your licence, otherwise the police may fine you. The police can, however, check with the RDW whether you applied and handed in a valid licence. So the chance of a fine is small, but not zero. It is up to you whether you take that risk.
Bring ID. If you do drive, bring your passport or identity card so you can prove who you are.
Insurance. If you have a valid licence and insurance, you are insured according to the RDW, even if you cannot show your licence at that moment. Ask your insurer if you want to be sure.
Not abroad. The RDW advises against driving in other countries during the exchange. They cannot always check your details there, and the rules may be different.
How long does it take? The RDW needs at least 15 working days, longer if information is missing. For a licence from outside the EU/EFTA you also need a health declaration. The CBR advises filling it in 6 months before your period ends.
WVW 1994 art. 108 lid 1 onder g en h, https://wetten.overheid.nl/BWBR0006622/2026-09-01, https://www.rdw.nl/het-rijbewijs/buitenlands-rijbewijs/buitenlands-rijbewijs-omwisselen, https://www.rdw.nl/en/driving-licence/foreign-driving-licence/exchanging-a-foreign-driving-licence, https://www.rdw.nl/het-rijbewijs/buitenlands-rijbewijs/rijden-met-een-buitenlands-rijbewijs, https://www.rdw.nl/het-rijbewijs/aanvragen-of-verlengen/gezondheidsverklaring-aanvragen, https://www.cbr.nl/nl/rijden-en-uw-gezondheid/buitenlands-rijbewijs-omwisselen