One more thing, NASM looks may or less more powerful than MASM, both have great and extremely useful macro system, so in theory adding a
DLL and with a list of import could be to just adding string to a list passed to a macro (defined function), was going to read and test it but it will take lot of reading and i wasn't sure it was worth it, thought you want it once for one
dll and few imports.
Building these three lists to add a
DLL and it imports and align may be doable.