Now, XDA Developer Erfanoabdi has ported the DP4 Android P to the Motorola Moto Z. He says that "Almost Everything" works in this Firmware including Boots, RIL (Calls, SMS, Data), Fingerprint, Wi-Fi, Bluetooth, Camera, Camcorder, Video Playback, Audio, Sensors, Flash, LED, and GPS, the only bugs includes VoLTE and Flashlight.
You'll need an Unlocked Bootloader with TWRP recovery installed on your Motorola Moto Z. Rest of the process includes Downloading and Flashing Google Apps and Android P DP4.
Android P Developer Preview 4 is the most stable version available right now. This release is version PPP4.180612.004. Stay tuned to our Facebook and Twitter page to get the first News.
Source | Direct Download