You have been able to add items and blocks since the initial 1.12 beta. This is documented (albeit poorly) on the minecraft wiki. There are also hundreds of examples on MCPEDL such as my add-on Fishy.
It depends on the license for the mod. Some mods will be licensed in a way that would allow this, most are not.
I am planning to move that feature to it's own mod soon enough.