Can I mix Datacenter and Standard licenses on the same server?

No. All of the Cores on a given server must be licensed with the same version and edition. You can run different editions or older versions of Windows Server software as guests within VMs. But you cannot assign multiple licenses of different versions or editions to the same physical server to license the cores on the server.