Yup. But log would show the specific AT command for the SMS sending - so might be able to “see” what command RouterOS.
But the underlying issue is that RouterOS seems to “save” sent messages, so the “manual” cleanup is needed. This has come up before (http://forum.mikrotik.com/t/cant-send-sms-with-mbim-memory-full/174068/1), so it’s more bug in /tool/sms.
To me, there should be option on the /tool/sms/send to NOT save the message - which avoid any need for AT commands. SMS sending from router should not require AT commands in 2025 IMO. Or at least some /tool/sms option clear the sent messages WITHOUT at-chat.