It had been in the works for a while, but now it has formally been adopted. From the article:
The regulation provides that by 2027 portable batteries incorporated into appliances should be removable and replaceable by the end-user, leaving sufficient time for operators to adapt the design of their products to this requirement.
Assuming someone makes a ROM for your device. This is often the case if you go with one of the most popular models but less popular devices might simply see no development effort – if the developers can even get their hands on the drivers and other necessary parts to build Android for that device.
It’d be great if manufacturers had to release all of the stuff necessary to run AOSP on their devices but I doubt it’s going to happen.