Create a collection with a form?

Is it possible to create collection with a form (code) without always create from the editor or admin dashboard. Thanks!

I think, this is not possible yet.
The same way you can not delete collection by code. (really disapointing to have all the unbreakable walls in wix/velo).

It already took a long period of time, just to get the remove-collection function in the wix editor…

I hope one day we also will get the APIs for REMOVING & CREATING NEW COLLECTIONS to be able to use these functions by code.