There is a free procedural city generator that creates interiors too that was a thesis done in C++:
But it does have some limitations and obviously is not well documented so modifying it takes a lot of time.
If you could release anything like that but with many improved features, well documented, fast and easy to use it surely would be worth buying.