Adding UI components during runtime

I want to add slots to the inventory the moment a player picks up an object, so the number of slots will be determined by how many items the inventory is holding.
Is it possible to add UI components using blueprints? Or can it only be done using C++?

Its possible in BPs…
For example, create scrollbox and when you pick up an item, create its widget (picture damage price…) and add it as child to scrollbox