i don't think it's possible to make walkable buildings.
But you can do this: when a unit finishes constructing a wall, it will be removed and a ddl will replace it.
This way, it will be walkable if you have a good pathing map.
The bad thing is that the wall won't belong to the player anymore since it will be replaced with a ddl.
A custom pathing map it's easy to make.