fudsnottica
You can map this by creating an Entrance node on the way itself in iD Editor and then tagging those nodes independently with the separate addresses. I did something similar for a house here: https://www.openstreetmap.org/way/660984754 (turn on the Map Data option under the Layers sidebar to get a better visualization).