That is not doable. (At least not out of the box).
In Mendix, you can only use input widgets to manipulate data on an existing object. You need to create an object first to let the user do something with it. This needs to be done in a dataview or some comparable widget.
If you don’t want to create your object at that time, you may want to us a non persistable helper object on your page and only create the real object if needed.
It is not possible with Mendix way. Without a data resources you cannot handle this. You can use the simple-check-box-set-selector widget for creating an easy check box with reference set. https://docs.mendix.com/appstore/widgets/simple-check-box-set-selector