You can not create assortment by REST API. You can view only it content and refresh it (if it is dynamic).
The only way to create assortment on the fly is to use java SDK and write code in java. You can later expose this as REST API also, but this will be custom REST API that you have to write yourselves.
Oh ok, thank you for the clarification !