Use of cryptomator disk for VM

Can i use the storage for a VM as a cryptomator drive?

Cryptomator just mounts a directory in which you can store your files. So, as long as you can make your VM’s setup work, you can use it!