Well Kinda, your data will be encrypted in transit (From Azure to Codespace) due to HTTPS, VPN adds protection between your device and the Codespace. Its not encrypted end to end in its purest form as its decrypted at Codespace and GitHub (as host) could theoretically access the data in Codespace memory but thats unlikely without breach or policy violation.