Wifi SSID Logger

Is there a way with mikrotik to scan for wifi networks and log the date time and SSID of networks in the area?

Wrong device on wrong place.
Use a proper device for wardriving wifi your neighborhood.
Take a look at https://hak5.org/ products.
If you want to go deeper you can look at some more advanced devices like
https://rfexplorer.com/wifisurveyor/