By the way, TutoriaLLM hacks this mechanism of Minecrafft to create code in the browser and run it in Minecraft Bedrock without installation on a small VM thread created on the server. Currently only some of the functionality is available as it is still under development, but in the future it will offer the same functionality as Minecraft Education for free (at least until Microsoft finds it and block them...).
The repo above says it allows Code Connection for Minecraft to work with Microsoft Bedrock. This should allow Makecode to work.
BUT... it assumes you can install 'Code Connection for Minecraft', and it seems that Microsoft has removed the download link for CodeConnection.msi
I don't mind the extra $12 per year for Minecraft Education Edition (although it seems unfair when we already paid for Bedrock when this functionality was included), but the sign up process is really convoluted, so much so that the support team made an 8 minute YouTube video walking people through it!