Build a lab for Configuration Manager….in minutes
Use this to build your lab local with Hyper-V
Windows 11 and Office 365 Deployment Lab Kit | Microsoft Evaluation Center
or use that to build in azure-cloud with Azure-VMs:
Install Configuration Manager Tech Preview Lab in Azure (microsoft.com)
Install Configuration Manager Current Branch in Azure (microsoft.com)

with that script you can decrease disk space to reduce costs
Shrink an Azure VMs OS Managed Disk using PowerShell. (jrudlin.github.io)