this as an example, I not see requirement for Mynamr visa. Or passing Thai Immigration. I would assume that passenger, etc are scanned by local Police and Harbour master before allowed to set sail.
you check with dive company. We can only assume. I do not think you will be stamped out of Thailand, unless this is very Official Tour which requires you to enter Myanmar water and Immigration.